1 ; RUN: opt --thinlto-bc --thinlto-split-lto-unit %s -o %t0
2 ; RUN: llvm-reduce -write-tmp-files-as-bitcode --delta-passes=function-bodies,basic-blocks %t0 -o %t1 \
3 ; 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 ; RUN: llvm-dis < %t1* | FileCheck --check-prefixes=CHECK-ALL,CHECK-FINAL %s
6 @g = internal global i8 42, !type !0
8 ; CHECK-INTERESTINGNESS: @callee(
9 ; CHECK-FINAL: declare void @callee()
10 define void @callee() {
14 ; CHECK-ALL: define void @caller()
15 define void @caller() {
17 ; CHECK-ALL: call void @callee()
23 ; CHECK-ALL: ret ptr @g.{{([0-9a-f]{32})}}
27 !0 = !{i32 0, !"typeid"}