| OLD | NEW |
| 1 ; RUIN: %llvm2ice -verbose inst %s | FileCheck %s | 1 ; RUIN: %llvm2ice -verbose inst %s | FileCheck %s |
| 2 ; RUIN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s | 2 ; RUIN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s |
| 3 ; RUN: %szdiff --llvm2ice=%llvm2ice %s | FileCheck --check-prefix=DUMP %s | 3 ; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s |
| 4 ; RUN: %llvm2iceinsts --pnacl %s | %szdiff %s \ |
| 5 ; RUN: | FileCheck --check-prefix=DUMP %s |
| 4 | 6 |
| 5 define void @testBool(i32 %a, i32 %b) { | 7 define void @testBool(i32 %a, i32 %b) { |
| 6 entry: | 8 entry: |
| 7 %cmp = icmp eq i32 %a, %b | 9 %cmp = icmp eq i32 %a, %b |
| 8 tail call void @use(i1 %cmp) | 10 tail call void @use(i1 %cmp) |
| 9 ret void | 11 ret void |
| 10 } | 12 } |
| 11 | 13 |
| 12 declare void @use(i1 zeroext) #1 | 14 declare void @use(i1 zeroext) #1 |
| 13 | 15 |
| 14 ; CHECK-NOT: ICE translation error | 16 ; CHECK-NOT: ICE translation error |
| 15 ; ERRORS-NOT: ICE translation error | 17 ; ERRORS-NOT: ICE translation error |
| 16 ; DUMP-NOT: SZ | 18 ; DUMP-NOT: SZ |
| OLD | NEW |