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

Unified Diff: test/NaCl/Bitcode/unsupported.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/Bitcode/unsupported.ll
diff --git a/test/NaCl/Bitcode/unsupported.ll b/test/NaCl/Bitcode/unsupported.ll
index 2e84d181d63c1da5b9978baa48535f2251748870..9e37e65d2daf742648226b149ce68efad83e23d1 100644
--- a/test/NaCl/Bitcode/unsupported.ll
+++ b/test/NaCl/Bitcode/unsupported.ll
@@ -5,7 +5,7 @@
define i8 @foo(i32 %i) {
%v1 = add i32 %i, %i
%v2 = inttoptr i32 %v1 to i8*
- %v3 = load i8* %v2
+ %v3 = load i8, i8* %v2
ret i8 %v3
}
@@ -17,7 +17,7 @@ define i8 @foo(i32 %i) {
; CSUP: define i8 @foo(i32) {
; CSUP-NEXT: %2 = add i32 %0, %0
; CSUP-NEXT: %3 = inttoptr i32 %2 to i8*
-; CSUP-NEXT: %4 = load i8* %3
+; CSUP-NEXT: %4 = load i8, i8* %3
; CSUP-NEXT: ret i8 %4
; CSUP-NEXT: }
@@ -29,7 +29,7 @@ define i8 @foo(i32 %i) {
; CUNS: define i8 @foo(i32 %i) {
; CUNS-NEXT: %v1 = add i32 %i, %i
; CUNS-NEXT: %1 = inttoptr i32 %v1 to i8*
-; CUNS-NEXT: %v3 = load i8* %1
+; CUNS-NEXT: %v3 = load i8, i8* %1
; CUNS-NEXT: ret i8 %v3
; CUNS-NEXT: }

Powered by Google App Engine
This is Rietveld 408576698