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

Unified Diff: test/NaCl/ARM/simple-load-store_sandboxing1.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/simple-load-store_sandboxing1.ll
diff --git a/test/NaCl/ARM/simple-load-store_sandboxing1.ll b/test/NaCl/ARM/simple-load-store_sandboxing1.ll
index 062f104dc5f6d7d7991e0a3418141882503cc9a0..91c1b83fac30a2ac71d83dabc355263b8f6cd498 100644
--- a/test/NaCl/ARM/simple-load-store_sandboxing1.ll
+++ b/test/NaCl/ARM/simple-load-store_sandboxing1.ll
@@ -7,17 +7,17 @@ entry:
%output.addr = alloca i32*, align 4
store i32* %input, i32** %input.addr, align 4
store i32* %output, i32** %output.addr, align 4
- %0 = load i32** %input.addr, align 4
- %1 = load i32* %0, align 4
+ %0 = load i32*, i32** %input.addr, align 4
+ %1 = load i32, i32* %0, align 4
-; CHECK: bic r0, r0, #3221225472
+; CHECK: bic r0, r0, #-1073741824
; CHECK-NEXT: ldr r0, [r0]
%add = add nsw i32 %1, 4
- %2 = load i32** %output.addr, align 4
+ %2 = load i32*, i32** %output.addr, align 4
store i32 %add, i32* %2, align 4
-; CHECK: bic r1, r1, #3221225472
+; CHECK: bic r1, r1, #-1073741824
; CHECK-NEXT: str r0, [r1]
ret void

Powered by Google App Engine
This is Rietveld 408576698