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

Unified Diff: test/CodeGen/ARM/varargs-spill-stack-align-nacl.ll

Issue 939073008: Rebased PNaCl localmods in LLVM to 223109 (Closed)
Patch Set: undo localmod Created 5 years, 10 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 | « test/CodeGen/ARM/sub-cmp-peephole.ll ('k') | test/CodeGen/X86/atomic16.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/CodeGen/ARM/varargs-spill-stack-align-nacl.ll
diff --git a/test/CodeGen/ARM/varargs-spill-stack-align-nacl.ll b/test/CodeGen/ARM/varargs-spill-stack-align-nacl.ll
index 148a79df0cb86c5d29f4c1d9b8581886a3bcf06c..670b7e02bfb17960d222bc6ec722f44aea92f536 100644
--- a/test/CodeGen/ARM/varargs-spill-stack-align-nacl.ll
+++ b/test/CodeGen/ARM/varargs-spill-stack-align-nacl.ll
@@ -1,4 +1,6 @@
-; RUN: llc < %s -mtriple=arm-nacl-gnueabi | FileCheck %s
+; RUN: llc < %s -mtriple=armv7-nacl-gnueabi | FileCheck %s
+; @LOCALMOD: change to armv7, (or alternatively +v6t2) since NaCl needs
+; movw/movt to materialize the @va_list global address.
declare void @llvm.va_start(i8*)
declare void @external_func(i8*)
@@ -27,5 +29,8 @@ define void @varargs_func(i32 %arg1, ...) {
; CHECK: sub sp, sp, #8
; Calculate the address of the varargs save area and save varargs
; arguments into it.
-; CHECK-NEXT: add r0, sp, #20
-; CHECK-NEXT: stm r0, {r1, r2, r3}
+; @LOCALMOD: Adjust test expectation, removing NEXT to allow CFI
+; directive to intervene in the output.
+; CHECK: add r0, sp, #20
+; @LOCALMOD: Adjust test expectation, removing NEXT to allow sandboxing.
+; CHECK: stm r0, {r1, r2, r3}
« no previous file with comments | « test/CodeGen/ARM/sub-cmp-peephole.ll ('k') | test/CodeGen/X86/atomic16.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698