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

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

Issue 600043002: Clean up run script to use for testing Subzero. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fixes for rebase from master. Created 6 years, 2 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 unified diff | Download patch
« 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: %llvm2ice --verbose inst %s | FileCheck %s 3 ; TODO(kschimpf) Find out why lc2i is needed.
4 ; RUN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s 4 ; RUN: %lc2i -i %s --args --verbose inst | FileCheck %s
5 ; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s 5 ; RUN: %p2i -i %s --args --verbose none | FileCheck --check-prefix=ERRORS %s
6 ; RUN: %llvm2iceinsts --pnacl %s | %szdiff %s \ 6 ; RUN: %lc2i -i %s --insts | %szdiff %s | FileCheck --check-prefix=DUMP %s
7 ; RUN: | FileCheck --check-prefix=DUMP %s
8 7
9 define void @load_i64(i32 %addr_arg) { 8 define void @load_i64(i32 %addr_arg) {
10 entry: 9 entry:
11 %__1 = inttoptr i32 %addr_arg to i64* 10 %__1 = inttoptr i32 %addr_arg to i64*
12 %iv = load i64* %__1, align 1 11 %iv = load i64* %__1, align 1
13 ret void 12 ret void
14 13
15 ; CHECK: Initial CFG 14 ; CHECK: Initial CFG
16 ; CHECK: %__1 = i32 %addr_arg 15 ; CHECK: %__1 = i32 %addr_arg
17 ; CHECK-NEXT: %iv = load i64* {{.*}}, align 1 16 ; CHECK-NEXT: %iv = load i64* {{.*}}, align 1
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 ret void 48 ret void
50 49
51 ; CHECK: Initial CFG 50 ; CHECK: Initial CFG
52 ; CHECK: %__1 = i32 %addr_arg 51 ; CHECK: %__1 = i32 %addr_arg
53 ; CHECK-NEXT: %iv = load i8* {{.*}}, align 1 52 ; CHECK-NEXT: %iv = load i8* {{.*}}, align 1
54 ; CHECK-NEXT: ret void 53 ; CHECK-NEXT: ret void
55 } 54 }
56 55
57 ; ERRORS-NOT: ICE translation error 56 ; ERRORS-NOT: ICE translation error
58 ; DUMP-NOT: SZ 57 ; DUMP-NOT: SZ
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
This is Rietveld 408576698