| Index: tests_lit/llvm2ice_tests/icmp-simple.ll
|
| diff --git a/tests_lit/llvm2ice_tests/icmp-simple.ll b/tests_lit/llvm2ice_tests/icmp-simple.ll
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..69e0adb33f5fffc269bc149e6911e089b735dcc2
|
| --- /dev/null
|
| +++ b/tests_lit/llvm2ice_tests/icmp-simple.ll
|
| @@ -0,0 +1,18 @@
|
| +; RUIN: %llvm2ice -verbose inst %s | FileCheck %s
|
| +; RUIN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s
|
| +; RUN: %szdiff --llvm2ice=%llvm2ice %s | FileCheck --check-prefix=DUMP %s
|
| +
|
| +define void @dummy_icmp(i64 %foo, i64 %bar) {
|
| +; CHECK: define void @dummy_icmp
|
| +entry:
|
| + %r1 = icmp eq i64 %foo, %bar
|
| + %r2 = icmp slt i64 %foo, %bar
|
| + ret void
|
| +; CHECK: entry:
|
| +; CHECK-NEXT: %r1 = icmp eq i64 %foo, %bar
|
| +; CHECK-NEXT: %r2 = icmp slt i64 %foo, %bar
|
| +; CHECK-NEXT: ret void
|
| +}
|
| +
|
| +; ERRORS-NOT: ICE translation error
|
| +; DUMP-NOT: SZ
|
|
|