| ; Trivial structural test of 64-bit icmp instructions. |
| ; RUN: %llvm2ice --verbose inst %s | FileCheck %s |
| ; RUN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s |
| ; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s |
| ; RUN: %llvm2iceinsts --pnacl %s | %szdiff %s \ |
| ; RUN: | FileCheck --check-prefix=DUMP %s |
| define void @dummy_icmp(i64 %foo, i64 %bar) { |
| ; CHECK: define void @dummy_icmp |
| %r1 = icmp eq i64 %foo, %bar |
| %r2 = icmp slt i64 %foo, %bar |
| ; CHECK-NEXT: %r1 = icmp eq i64 %foo, %bar |
| ; CHECK-NEXT: %r2 = icmp slt i64 %foo, %bar |
| ; ERRORS-NOT: ICE translation error |