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

Side by Side Diff: tests_lit/reader_tests/store.ll

Issue 1522433004: eliminate code related to --no-ir-gen (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Changes suggested by stichnot Created 5 years 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/reader_tests/select.ll ('k') | tests_lit/reader_tests/switch.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 ; Test if we can read store instructions. 1 ; Test if we can read store instructions.
2 2
3 ; RUN: %p2i -i %s --insts --no-local-syms | FileCheck %s 3 ; RUN: %p2i -i %s --insts --no-local-syms | FileCheck %s
4 ; RUN: %if --need=allow_disable_ir_gen --command \ 4 ; RUN: %p2i -i %s --args -notranslate -timing | \
5 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \
6 ; RUN: | %if --need=allow_disable_ir_gen --command \
7 ; RUN: FileCheck --check-prefix=NOIR %s 5 ; RUN: FileCheck --check-prefix=NOIR %s
8 6
9 define internal void @store_i8(i32 %addr) { 7 define internal void @store_i8(i32 %addr) {
10 entry: 8 entry:
11 %addr_i8 = inttoptr i32 %addr to i8* 9 %addr_i8 = inttoptr i32 %addr to i8*
12 store i8 3, i8* %addr_i8, align 1 10 store i8 3, i8* %addr_i8, align 1
13 ret void 11 ret void
14 12
15 ; CHECK: __0: 13 ; CHECK: __0:
16 ; CHECK-NEXT: store i8 3, i8* %__0, align 1 14 ; CHECK-NEXT: store i8 3, i8* %__0, align 1
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 %addr_v4xFloat = inttoptr i32 %addr to <4 x float>* 130 %addr_v4xFloat = inttoptr i32 %addr to <4 x float>*
133 store <4 x float> %v, <4 x float>* %addr_v4xFloat, align 4 131 store <4 x float> %v, <4 x float>* %addr_v4xFloat, align 4
134 ret void 132 ret void
135 133
136 ; CHECK: __0: 134 ; CHECK: __0:
137 ; CHECK-NEXT: store <4 x float> %__1, <4 x float>* %__0, align 4 135 ; CHECK-NEXT: store <4 x float> %__1, <4 x float>* %__0, align 4
138 ; CHECK-NEXT: ret void 136 ; CHECK-NEXT: ret void
139 } 137 }
140 138
141 ; NOIR: Total across all functions 139 ; NOIR: Total across all functions
OLDNEW
« no previous file with comments | « tests_lit/reader_tests/select.ll ('k') | tests_lit/reader_tests/switch.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698