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

Unified Diff: tests_lit/llvm2ice_tests/phi.ll

Issue 1385433002: Subzero: Use register availability during lowering to improve the code. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Add comments Created 5 years, 3 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/callindirect.pnacl.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/phi.ll
diff --git a/tests_lit/llvm2ice_tests/phi.ll b/tests_lit/llvm2ice_tests/phi.ll
index 86da00dbe11ade28abd7da8506bfecc5b8d7e7e6..d5ca2b190655311c6778977ab0b03176886a4c1a 100644
--- a/tests_lit/llvm2ice_tests/phi.ll
+++ b/tests_lit/llvm2ice_tests/phi.ll
@@ -92,12 +92,15 @@ exit:
; CHECK-LABEL: testPhi3
; CHECK: push [[EBX:.*]]
-; CHECK: mov {{.*}},DWORD PTR [esp
-; CHECK: mov
-; CHECK: mov {{.*}},DWORD PTR [[ADDR:.*0x3e8]]
+; CHECK: mov [[EAX:.*]],DWORD PTR [esp
+; CHECK: mov [[ECX:.*]],[[EAX]]
+;;; start of loop body
+; CHECK: mov [[EDX:.*]],[[ECX]]
+; CHECK: mov {{.*}},DWORD PTR [{{.*}}+0x3e8]
; CHECK: cmp {{.*}},0x0
; CHECK: jne
-; CHECK: mov DWORD PTR [[ADDR]]
+;;; start of epilog
+; CHECK: mov DWORD PTR {{.}}[[EDX]]+0x3e8],
; CHECK: pop [[EBX]]
; Test of "advanced phi lowering" with undef phi arg (integer vector).
« no previous file with comments | « tests_lit/llvm2ice_tests/callindirect.pnacl.ll ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698