brintos

brintos / llvm-project-archived public Read only

0
0
Text · 663 B · b90492e Raw
21 lines · plain
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 %t2; RUN: cat %t | FileCheck --check-prefixes=CHECK-ALL,CHECK-FINAL %s3 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({{.*}}blockaddress9; CHECK-FINAL: call void @foo(ptr blockaddress(@func, %bb5))10entry:11  call void @foo(ptr blockaddress(@func, %bb5))12  ret void13 14; CHECK-ALL: bb5:15; CHECK-ALL: ret void16bb5:17  ret void18}19 20declare void @foo(ptr)21