xref: /llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/new-pm.ll (revision cee313d288a4faf0355d76fb6e0e927e211d08a5)
1*cee313d2SEric Christopher; RUN: opt -passes='no-op-module' -debug-pass-manager -thinlto-bc -thin-link-bitcode-file=%t2 -o %t %s 2>&1 | FileCheck %s --check-prefix=DEBUG_PM
2*cee313d2SEric Christopher; RUN: llvm-bcanalyzer -dump %t2 | FileCheck %s --check-prefix=BITCODE
3*cee313d2SEric Christopher
4*cee313d2SEric Christopher; DEBUG_PM: ThinLTOBitcodeWriterPass
5*cee313d2SEric Christopher; BITCODE: Foo
6*cee313d2SEric Christopher
7*cee313d2SEric Christopherdefine void @Foo() {
8*cee313d2SEric Christopher  ret void
9*cee313d2SEric Christopher}
10