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

Unified Diff: tests_lit/llvm2ice_tests/test_i1.ll

Issue 647223004: emitIAS for movsx and movzx. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: format Created 6 years, 2 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
« no previous file with comments | « tests_lit/llvm2ice_tests/convert.ll ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests_lit/llvm2ice_tests/test_i1.ll
diff --git a/tests_lit/llvm2ice_tests/test_i1.ll b/tests_lit/llvm2ice_tests/test_i1.ll
index 697f0d1fcd65b8f078cdc84366f80441eda50196..d3c15e5ffa52e6c7700d7bd20589ce33c9d07b80 100644
--- a/tests_lit/llvm2ice_tests/test_i1.ll
+++ b/tests_lit/llvm2ice_tests/test_i1.ll
@@ -79,8 +79,8 @@ entry:
; match the trunc instruction
; CHECK: and {{.*}}, 1
; match the zext i1 instruction
-; CHECK: movzx
-; CHECK: and {{.*}}, 1
+; CHECK: movzx [[REG:.*]], {{[a-d]l|byte ptr}}
Jim Stichnoth 2014/10/15 20:08:45 Should this be something like [[REG:e.*]] to indic
jvoung (off chromium) 2014/10/15 21:07:29 Hmm, yes it's a bit puzzling. Thinking about it m
+; CHECK: and [[REG]], 1
; Test zext to i32.
define internal i32 @testZextI32(i32 %arg) {
@@ -138,7 +138,7 @@ entry:
; match the trunc instruction
; CHECK: and {{.*}}, 1
; match the sext i1 instruction
-; CHECK: movzx [[REG:.*]],
+; CHECK: movzx e[[REG:.*]], {{[a-d]l|byte ptr}}
; CHECK-NEXT: shl [[REG]], 15
; CHECK-NEXT: sar [[REG]], 15
« no previous file with comments | « tests_lit/llvm2ice_tests/convert.ll ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698