Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2283)

Unified Diff: tests_lit/llvm2ice_tests/strength-reduce.ll

Issue 1531623007: Add option to force filetype=asm for testing (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix merge ordering issue. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests_lit/llvm2ice_tests/strength-reduce.ll
diff --git a/tests_lit/llvm2ice_tests/strength-reduce.ll b/tests_lit/llvm2ice_tests/strength-reduce.ll
index 50ca6e8ad63a87c5676a7d5dc362df2ab3261b97..c7ccb4fc3e419dc17fbc9bf80dc53752d088e04b 100644
--- a/tests_lit/llvm2ice_tests/strength-reduce.ll
+++ b/tests_lit/llvm2ice_tests/strength-reduce.ll
@@ -47,10 +47,8 @@ define internal i16 @mul_i16_arg_18(i16 %arg) {
%result = mul i16 %arg, 18
ret i16 %result
}
-; Disassembly will look like "lea ax,[eax+eax*8]".
; CHECK-LABEL: mul_i16_arg_18
-; CHECK-DAG: lea [[REG:..]],{{\[}}e[[REG]]+e[[REG]]*8]
-; CHECK-DAG: shl [[REG]],1
+; CHECK: imul
define internal i8 @mul_i8_arg_16(i8 %arg) {
%result = mul i8 %arg, 16

Powered by Google App Engine
This is Rietveld 408576698