1; RUN: llvm-reduce --abort-on-invalid-reduction --delta-passes=arguments --test FileCheck --test-arg --check-prefixes=CHECK-ALL,CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o %t
2; RUN: cat %t | FileCheck --check-prefixes=CHECK-ALL,CHECK-FINAL %s
3
4; CHECK-INTERESTINGNESS: define void @func(
5; CHECK-FINAL: define void @func()
6define void @func(i1 %arg) {
7; CHECK-ALL: entry:
8; CHECK-INTERESTINGNESS: call void @foo({{.*}}blockaddress
9; CHECK-FINAL: call void @foo(ptr blockaddress(@func, %bb5))
10entry:
11  call void @foo(ptr blockaddress(@func, %bb5))
12  ret void
13
14; CHECK-ALL: bb5:
15; CHECK-ALL: ret void
16bb5:
17  ret void
18}
19
20declare void @foo(ptr)
21