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

Unified Diff: test/CodeGen/JS/expand-i64.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/CodeGen/JS/expand-i64.ll
diff --git a/test/CodeGen/JS/expand-i64.ll b/test/CodeGen/JS/expand-i64.ll
index 81d62707d83303f67a10e91c7a1e4a06622db711..4a251745b9d90077934f384f118be40fac641832 100644
--- a/test/CodeGen/JS/expand-i64.ll
+++ b/test/CodeGen/JS/expand-i64.ll
@@ -205,30 +205,30 @@ define i32 @icmp_ult(i64 %a, i64 %b) {
; CHECK: define i32 @load(i64* %a) {
; CHECK: %1 = ptrtoint i64* %a to i32
; CHECK: %2 = inttoptr i32 %1 to i32*
-; CHECK: %3 = load i32* %2
+; CHECK: %3 = load i32, i32* %2
; CHECK: %4 = add i32 %1, 4
; CHECK: %5 = inttoptr i32 %4 to i32*
-; CHECK: %6 = load i32* %5
+; CHECK: %6 = load i32, i32* %5
; CHECK: call void @setHigh32(i32 %6)
; CHECK: ret i32 %3
; CHECK: }
define i64 @load(i64 *%a) {
- %c = load i64* %a
+ %c = load i64, i64* %a
ret i64 %c
}
; CHECK: define i32 @aligned_load(i64* %a) {
; CHECK: %1 = ptrtoint i64* %a to i32
; CHECK: %2 = inttoptr i32 %1 to i32*
-; CHECK: %3 = load i32* %2, align 16
+; CHECK: %3 = load i32, i32* %2, align 16
; CHECK: %4 = add i32 %1, 4
; CHECK: %5 = inttoptr i32 %4 to i32*
-; CHECK: %6 = load i32* %5, align 4
+; CHECK: %6 = load i32, i32* %5, align 4
; CHECK: call void @setHigh32(i32 %6)
; CHECK: ret i32 %3
; CHECK: }
define i64 @aligned_load(i64 *%a) {
- %c = load i64* %a, align 16
+ %c = load i64, i64* %a, align 16
ret i64 %c
}
@@ -307,7 +307,7 @@ define void @unreachable_blocks(i64* %p) {
ret void
dead:
- %t = load i64* %p
+ %t = load i64, i64* %p
%s = add i64 %t, 1
store i64 %s, i64* %p
ret void

Powered by Google App Engine
This is Rietveld 408576698