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

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

Issue 696383004: Disable Subzero IR generation for performance testing. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix issues in patch set 2, and add tests. Created 6 years, 1 month 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
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: %p2i -i %s --args -notranslate -timing -noIRgen \
5 ; RUN: | %if --need=allow_disable_ir_gen \
6 ; RUN: --command FileCheck --check-prefix=NOIR %s
4 7
5 define void @store_i8(i32 %addr) { 8 define void @store_i8(i32 %addr) {
6 entry: 9 entry:
7 %addr_i8 = inttoptr i32 %addr to i8* 10 %addr_i8 = inttoptr i32 %addr to i8*
8 store i8 3, i8* %addr_i8, align 1 11 store i8 3, i8* %addr_i8, align 1
9 ret void 12 ret void
10 13
11 ; CHECK: __0: 14 ; CHECK: __0:
12 ; CHECK-NEXT: store i8 3, i8* %__0, align 1 15 ; CHECK-NEXT: store i8 3, i8* %__0, align 1
13 ; CHECK-NEXT: ret void 16 ; CHECK-NEXT: ret void
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 129
127 define void @store_v4xFloat(i32 %addr, <4 x float> %v) { 130 define void @store_v4xFloat(i32 %addr, <4 x float> %v) {
128 %addr_v4xFloat = inttoptr i32 %addr to <4 x float>* 131 %addr_v4xFloat = inttoptr i32 %addr to <4 x float>*
129 store <4 x float> %v, <4 x float>* %addr_v4xFloat, align 4 132 store <4 x float> %v, <4 x float>* %addr_v4xFloat, align 4
130 ret void 133 ret void
131 134
132 ; CHECK: __0: 135 ; CHECK: __0:
133 ; CHECK-NEXT: store <4 x float> %__1, <4 x float>* %__0, align 4 136 ; CHECK-NEXT: store <4 x float> %__1, <4 x float>* %__0, align 4
134 ; CHECK-NEXT: ret void 137 ; CHECK-NEXT: ret void
135 } 138 }
139
140 ; NOIR: Total across all functions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698