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

Unified Diff: test/NaCl/ARM/stack-change-sandboxing.ll

Issue 1151093004: Changes from 3.7 merge to files not in upstream (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Patch Set: Created 5 years, 7 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: test/NaCl/ARM/stack-change-sandboxing.ll
diff --git a/test/NaCl/ARM/stack-change-sandboxing.ll b/test/NaCl/ARM/stack-change-sandboxing.ll
index 264dd60253d0b1679659ba5e68d9a3048f58b3a2..0b52eb0ca8d4f65b22aac6ea602718ff244bc924 100644
--- a/test/NaCl/ARM/stack-change-sandboxing.ll
+++ b/test/NaCl/ARM/stack-change-sandboxing.ll
@@ -5,7 +5,7 @@ define i32 @foo(i32 %aa, i32 %bb) nounwind {
entry:
; CHECK: sub sp, sp, #16
-; CHECK-NEXT: bic sp, sp, #3221225472
+; CHECK-NEXT: bic sp, sp, #-1073741824
%aa.addr = alloca i32, align 4
%bb.addr = alloca i32, align 4
@@ -13,22 +13,22 @@ entry:
%dd = alloca i32, align 4
store i32 %aa, i32* %aa.addr, align 4
store i32 %bb, i32* %bb.addr, align 4
- %0 = load i32* %aa.addr, align 4
- %1 = load i32* %bb.addr, align 4
+ %0 = load i32, i32* %aa.addr, align 4
+ %1 = load i32, i32* %bb.addr, align 4
%mul = mul nsw i32 %0, %1
store i32 %mul, i32* %cc, align 4
- %2 = load i32* %aa.addr, align 4
+ %2 = load i32, i32* %aa.addr, align 4
%mul1 = mul nsw i32 %2, 17
- %3 = load i32* %cc, align 4
+ %3 = load i32, i32* %cc, align 4
%sub = sub nsw i32 %mul1, %3
store i32 %sub, i32* %dd, align 4
- %4 = load i32* %dd, align 4
+ %4 = load i32, i32* %dd, align 4
ret i32 %4
; The nop here is to prevent add/bic to straddle a bundle boundary
; CHECK: nop
; CHECK-NEXT: add sp, sp, #16
-; CHECK-NEXT: bic sp, sp, #3221225472
+; CHECK-NEXT: bic sp, sp, #-1073741824
}

Powered by Google App Engine
This is Rietveld 408576698