brintos

brintos / llvm-project-archived public Read only

0
0
Text · 503 B · 0872c23 Raw
15 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; We can't drop arguments if they are used by terminator instructions.5 6define i32 @t(i32 %a0, i32 %a1, i32 %a2) {7; CHECK-ALL-LABEL: @t8; CHECK-FINAL-NOT: %a19;10; CHECK-INTERESTINGNESS: ret i3211; CHECK-FINAL: ret i32 012 13  ret i32 %a114}15