brintos

brintos / llvm-project-archived public Read only

0
0
Text · 503 B · 88e415e Raw
18 lines · plain
1; RUN: llvm-reduce --abort-on-invalid-reduction --test FileCheck --test-arg --check-prefixes=CHECK-ALL,CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o %t2; RUN: FileCheck --check-prefixes=CHECK-ALL,CHECK-FINAL %s < %t3 4; CHECK-INTERESTINGNESS: @callee(5; CHECK-FINAL: declare void @callee()6define void @callee() {7  ret void8}9 10; CHECK-ALL: define void @caller()11define void @caller() {12entry:13; CHECK-ALL: call void @callee()14; CHECK-ALL: ret void15  call void @callee()16  ret void17}18