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 5 6@g = internal global i8 42, !type !0 7 8; CHECK-INTERESTINGNESS: @callee( 9; CHECK-FINAL: declare void @callee() 10define void @callee() { 11 ret void 12} 13 14; CHECK-ALL: define void @caller() 15define void @caller() { 16entry: 17; CHECK-ALL: call void @callee() 18; CHECK-ALL: ret void 19 call void @callee() 20 ret void 21} 22define ptr @f() { 23 ; CHECK-ALL: ret ptr @g.{{([0-9a-f]{32})}} 24 ret ptr @g 25} 26 27!0 = !{i32 0, !"typeid"} 28