Index: tests_lit/llvm2ice_tests/arith-opt.ll |
diff --git a/tests_lit/llvm2ice_tests/arith-opt.ll b/tests_lit/llvm2ice_tests/arith-opt.ll |
index fff8e3fcfb2a3381a47aeb2477b19e0faaa7ad84..bc1a6a32fbf92caf7021f153373a8123725d9897 100644 |
--- a/tests_lit/llvm2ice_tests/arith-opt.ll |
+++ b/tests_lit/llvm2ice_tests/arith-opt.ll |
@@ -111,5 +111,15 @@ entry: |
ret i32 %rem |
} |
+; Check for a valid addressing mode in the x86-32 mul instruction when |
+; the second source operand is an immediate. |
+define i64 @MulImm() { |
+entry: |
+ %mul = mul i64 3, 4 |
+ ret i64 %mul |
+} |
+; CHECK-LABEL: MulImm |
+; CHECK-NOT: mul {{[0-9]+}} |
+ |
; ERRORS-NOT: ICE translation error |
; DUMP-NOT: SZ |