1 ; RUN: llvm-reduce --delta-passes=ir-passes --test FileCheck --test-arg --check-prefixes=CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o %t
2 ; RUN: FileCheck --check-prefixes=CHECK-FINAL --input-file=%t %s
4 ; CHECK-INTERESTINGNESS-LABEL: @f1
5 ; CHECK-INTERESTINGNESS: add
6 ; CHECK-INTERESTINGNESS-LABEL: @f2
7 ; CHECK-INTERESTINGNESS: add
8 ; CHECK-INTERESTINGNESS: add
10 ; CHECK-FINAL-LABEL: @f1
11 ; CHECK-FINAL: add i32 %a, 10
12 ; CHECK-FINAL-LABEL: @f2
13 ; CHECK-FINAL: add i32 %a, 5
14 ; CHECK-FINAL: add i32 %b, 5
16 define i32 @f1(i32 %a) {
22 define i32 @f2(i32 %a) {