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

Unified Diff: tests_lit/llvm2ice_tests/nacl-other-intrinsics.ll

Issue 2455933002: Subzero, MIPS32: Stacksave/Stackrestore implementation (Closed)
Patch Set: Enabled tests in nacl-other-intrinsics.ll Created 4 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 | « src/IceTargetLoweringMIPS32.cpp ('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/nacl-other-intrinsics.ll
diff --git a/tests_lit/llvm2ice_tests/nacl-other-intrinsics.ll b/tests_lit/llvm2ice_tests/nacl-other-intrinsics.ll
index eacce418d447a39d0be8bc988e0c3899c141d737..003fe38f59120ee63fb18e7edc35048135758c5c 100644
--- a/tests_lit/llvm2ice_tests/nacl-other-intrinsics.ll
+++ b/tests_lit/llvm2ice_tests/nacl-other-intrinsics.ll
@@ -658,6 +658,10 @@ entry:
; ARM32-LABEL: test_stacksave_noalloca
; ARM32: mov {{.*}}, sp
; ARM32: mov sp, {{.*}}
+; MIPS32-LABEL: test_stacksave_noalloca
+; MIPS32: sw sp,{{.*}}
+; MIPS32: lw [[REG:.*]],0(sp)
+; MIPS32: move sp,[[REG]]
declare i32 @foo(i32 %x)
@@ -702,3 +706,9 @@ entry:
; ARM32: mov {{.*}}, sp
; ARM32: mov {{.*}}, sp
; ARM32: mov sp, {{.*}}
+; MIPS32-LABEL: test_stacksave_multiple
+; MIPS32: sw sp,[[MEMLOC:.*]]
+; MIPS32: sw sp,{{.*}}
+; MIPS32: sw sp,{{.*}}
+; MIPS32: lw [[REG:.*]],[[MEMLOC]]
+; MIPS32: move sp,[[REG]]
« no previous file with comments | « src/IceTargetLoweringMIPS32.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698