Chromium Code Reviews

Side by Side Diff: tests_lit/llvm2ice_tests/load.ll

Issue 705513002: Subzero: Delete szdiff.py tests and ERRORS tests. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Remove call.ll Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « tests_lit/llvm2ice_tests/icmp-simple.ll ('k') | tests_lit/llvm2ice_tests/mangle.ll » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ; Simple test of the load instruction. 1 ; Simple test of the load instruction.
2 2
3 ; RUN: %p2i -i %s --args --verbose inst | FileCheck %s 3 ; RUN: %p2i -i %s --args --verbose inst | FileCheck %s
4 ; RUN: %p2i -i %s --args --verbose none | FileCheck --check-prefix=ERRORS %s
5 4
6 define void @load_i64(i32 %addr_arg) { 5 define void @load_i64(i32 %addr_arg) {
7 entry: 6 entry:
8 %__1 = inttoptr i32 %addr_arg to i64* 7 %__1 = inttoptr i32 %addr_arg to i64*
9 %iv = load i64* %__1, align 1 8 %iv = load i64* %__1, align 1
10 ret void 9 ret void
11 10
12 ; CHECK: Initial CFG 11 ; CHECK: Initial CFG
13 ; CHECK: entry: 12 ; CHECK: entry:
14 ; CHECK-NEXT: %iv = load i64* %addr_arg, align 1 13 ; CHECK-NEXT: %iv = load i64* %addr_arg, align 1
(...skipping 28 matching lines...)
43 entry: 42 entry:
44 %__1 = inttoptr i32 %addr_arg to i8* 43 %__1 = inttoptr i32 %addr_arg to i8*
45 %iv = load i8* %__1, align 1 44 %iv = load i8* %__1, align 1
46 ret void 45 ret void
47 46
48 ; CHECK: Initial CFG 47 ; CHECK: Initial CFG
49 ; CHECK: entry: 48 ; CHECK: entry:
50 ; CHECK-NEXT: %iv = load i8* %addr_arg, align 1 49 ; CHECK-NEXT: %iv = load i8* %addr_arg, align 1
51 ; CHECK-NEXT: ret void 50 ; CHECK-NEXT: ret void
52 } 51 }
53
54 ; ERRORS-NOT: ICE translation error
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/icmp-simple.ll ('k') | tests_lit/llvm2ice_tests/mangle.ll » ('j') | no next file with comments »

Powered by Google App Engine