brintos

brintos / llvm-project-archived public Read only

0
0
Text · 721 B · cbf2e34 Raw
22 lines · plain
1; RUN: llvm-reduce --abort-on-invalid-reduction --test FileCheck --test-arg --check-prefix=CHECK-ALL --test-arg %s --test-arg --input-file %s -o %t2; RUN: FileCheck --check-prefix=CHECK-ALL --implicit-check-not=uninteresting %s < %t3 4declare void @llvm.uninteresting()5declare void @uninteresting()6 7; CHECK-ALL: declare void @llvm.interesting()8; CHECK-ALL: declare void @interesting()9declare void @llvm.interesting()10declare void @interesting()11 12; CHECK-ALL: define void @main() {13; CHECK-ALL-NEXT:  call void @llvm.interesting()14; CHECK-ALL-NEXT:   call void @interesting()15; CHECK-ALL-NEXT:   ret void16; CHECK-ALL-NEXT: }17define void @main() {18  call void @llvm.interesting()19  call void @interesting()20  ret void21}22