1*6b3956e1SMatthew Voss; RUN: opt --thinlto-bc --thinlto-split-lto-unit %s -o %t0 2*6b3956e1SMatthew Voss; RUN: llvm-reduce -write-tmp-files-as-bitcode --delta-passes=basic-blocks %t0 -o %t1 \ 3*6b3956e1SMatthew Voss; RUN: --test %python --test-arg %p/Inputs/llvm-dis-and-filecheck.py --test-arg llvm-dis --test-arg FileCheck --test-arg --check-prefixes=CHECK-ALL,CHECK-INTERESTINGNESS --test-arg %s 4*6b3956e1SMatthew Voss; RUN: cat %t1* | FileCheck --check-prefixes=CHECK-ALL,CHECK-FINAL %s 5*6b3956e1SMatthew Voss 6*6b3956e1SMatthew Voss@g = internal global i8 42, !type !0 7*6b3956e1SMatthew Voss 8*6b3956e1SMatthew Voss; CHECK-INTERESTINGNESS: @callee( 9*6b3956e1SMatthew Voss; CHECK-FINAL: declare void @callee() 10*6b3956e1SMatthew Vossdefine void @callee() { 11*6b3956e1SMatthew Voss ret void 12*6b3956e1SMatthew Voss} 13*6b3956e1SMatthew Voss 14*6b3956e1SMatthew Voss; CHECK-ALL: define void @caller() 15*6b3956e1SMatthew Vossdefine void @caller() { 16*6b3956e1SMatthew Vossentry: 17*6b3956e1SMatthew Voss; CHECK-ALL: call void @callee() 18*6b3956e1SMatthew Voss; CHECK-ALL: ret void 19*6b3956e1SMatthew Voss call void @callee() 20*6b3956e1SMatthew Voss ret void 21*6b3956e1SMatthew Voss} 22*6b3956e1SMatthew Vossdefine i8* @f() { 23*6b3956e1SMatthew Voss ; CHECK-ALL: ret i8* @g.{{([0-9a-f]{32})}} 24*6b3956e1SMatthew Voss ret i8* @g 25*6b3956e1SMatthew Voss} 26*6b3956e1SMatthew Voss 27*6b3956e1SMatthew Voss!0 = !{i32 0, !"typeid"} 28