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

Unified Diff: test/NaCl/X86/no-global-in-disp-x86-64.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/X86/no-global-in-disp-x86-64.ll
diff --git a/test/NaCl/X86/no-global-in-disp-x86-64.ll b/test/NaCl/X86/no-global-in-disp-x86-64.ll
index db911ccff9d6ceb3317e524c68b2dd94e7a5739f..6578f2ecc470eeb1b5aba8c6bdcdb3c6628457af 100644
--- a/test/NaCl/X86/no-global-in-disp-x86-64.ll
+++ b/test/NaCl/X86/no-global-in-disp-x86-64.ll
@@ -37,14 +37,14 @@ entry:
; NACLOFF: mov{{.*}}myglobal(
%arg.addr = alloca i32, align 4
store i32 %arg, i32* %arg.addr, align 4
- %0 = load i32* %arg.addr, align 4
- %1 = load i32* %arg.addr, align 4
- %arrayidx = getelementptr inbounds [100 x i32]* @myglobal, i32 0, i32 %1
+ %0 = load i32, i32* %arg.addr, align 4
+ %1 = load i32, i32* %arg.addr, align 4
+ %arrayidx = getelementptr inbounds [100 x i32], [100 x i32]* @myglobal, i32 0, i32 %1
store i32 %0, i32* %arrayidx, align 4
- %2 = load i32* %arg.addr, align 4
- %3 = load i32* %arg.addr, align 4
+ %2 = load i32, i32* %arg.addr, align 4
+ %3 = load i32, i32* %arg.addr, align 4
%add = add nsw i32 %3, 1
- %arrayidx1 = getelementptr inbounds [100 x i32]* @myglobal, i32 0, i32 %add
+ %arrayidx1 = getelementptr inbounds [100 x i32], [100 x i32]* @myglobal, i32 0, i32 %add
store i32 %2, i32* %arrayidx1, align 4
ret void
}

Powered by Google App Engine
This is Rietveld 408576698