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

Unified Diff: test/NaCl/PNaClABI/abi-stripped-pointers.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/PNaClABI/abi-stripped-pointers.ll
diff --git a/test/NaCl/PNaClABI/abi-stripped-pointers.ll b/test/NaCl/PNaClABI/abi-stripped-pointers.ll
index 7b67405483dea4924c810735c01896c31cbe31bc..16b884e72244d6e497d06ed94af28783c3f1238e 100644
--- a/test/NaCl/PNaClABI/abi-stripped-pointers.ll
+++ b/test/NaCl/PNaClABI/abi-stripped-pointers.ll
@@ -36,19 +36,19 @@ define internal void @allowed_cases(i32 %arg) {
%alloc = alloca i8
ptrtoint i8* %alloc to i32
- load i8* %alloc, align 1
+ load i8, i8* %alloc, align 1
; These instructions may use a NormalizedPtr, which may be a global.
- load i32* @ptr, align 1
+ load i32, i32* @ptr, align 1
store i32 123, i32* @ptr, align 1
; A NormalizedPtr may be a bitcast.
%ptr_bitcast = bitcast [4 x i8]* @var to i32*
- load i32* %ptr_bitcast, align 1
+ load i32, i32* %ptr_bitcast, align 1
; A NormalizedPtr may be an inttoptr.
%ptr_from_int = inttoptr i32 123 to i32*
- load i32* %ptr_from_int, align 1
+ load i32, i32* %ptr_from_int, align 1
; Check direct and indirect function calls.
%func_as_int = ptrtoint void ()* @func to i32

Powered by Google App Engine
This is Rietveld 408576698