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

Unified Diff: tests_lit/llvm2ice_tests/load.ll

Issue 277033003: Modify pnacl subzero to be able to read pnacl bitcode files. (Closed) Base URL: https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Patch Set: Fix nits. Created 6 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
« no previous file with comments | « tests_lit/llvm2ice_tests/inttoptr.ll ('k') | tests_lit/llvm2ice_tests/return-int-arg.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests_lit/llvm2ice_tests/load.ll
diff --git a/tests_lit/llvm2ice_tests/load.ll b/tests_lit/llvm2ice_tests/load.ll
index 31b062476c09977e1183ac565449bde5de36e8fd..1a1d6a38c8d890e2bb3a2749760b3d967fc1b1e7 100644
--- a/tests_lit/llvm2ice_tests/load.ll
+++ b/tests_lit/llvm2ice_tests/load.ll
@@ -1,47 +1,49 @@
; RUIN: %llvm2ice -verbose inst %s | FileCheck %s
; RUIN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s
-; RUN: %szdiff --llvm2ice=%llvm2ice %s | FileCheck --check-prefix=DUMP %s
+; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s
+; RUN: %llvm2iceinsts --pnacl %s | %szdiff %s \
+; RUN: | FileCheck --check-prefix=DUMP %s
define void @load_i64(i32 %addr_arg) {
entry:
- %ptr64 = inttoptr i32 %addr_arg to i64*
- %iv = load i64* %ptr64, align 1
+ %__1 = inttoptr i32 %addr_arg to i64*
+ %iv = load i64* %__1, align 1
ret void
-; CHECK: %ptr64 = i32 %addr_arg
+; CHECK: %__1 = i32 %addr_arg
; CHECK-NEXT: %iv = load i64* {{.*}}, align 1
; CHECK-NEXT: ret void
}
define void @load_i32(i32 %addr_arg) {
entry:
- %ptr32 = inttoptr i32 %addr_arg to i32*
- %iv = load i32* %ptr32, align 1
+ %__1 = inttoptr i32 %addr_arg to i32*
+ %iv = load i32* %__1, align 1
ret void
-; CHECK: %ptr32 = i32 %addr_arg
+; CHECK: %__1 = i32 %addr_arg
; CHECK-NEXT: %iv = load i32* {{.*}}, align 1
; CHECK-NEXT: ret void
}
define void @load_i16(i32 %addr_arg) {
entry:
- %ptr16 = inttoptr i32 %addr_arg to i16*
- %iv = load i16* %ptr16, align 1
+ %__1 = inttoptr i32 %addr_arg to i16*
+ %iv = load i16* %__1, align 1
ret void
-; CHECK: %ptr16 = i32 %addr_arg
+; CHECK: %__1 = i32 %addr_arg
; CHECK-NEXT: %iv = load i16* {{.*}}, align 1
; CHECK-NEXT: ret void
}
define void @load_i8(i32 %addr_arg) {
entry:
- %ptr8 = inttoptr i32 %addr_arg to i8*
- %iv = load i8* %ptr8, align 1
+ %__1 = inttoptr i32 %addr_arg to i8*
+ %iv = load i8* %__1, align 1
ret void
-; CHECK: %ptr8 = i32 %addr_arg
+; CHECK: %__1 = i32 %addr_arg
; CHECK-NEXT: %iv = load i8* {{.*}}, align 1
; CHECK-NEXT: ret void
}
« no previous file with comments | « tests_lit/llvm2ice_tests/inttoptr.ll ('k') | tests_lit/llvm2ice_tests/return-int-arg.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698