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

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

Issue 735513002: Create local config file for subzero reader tests. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nit. Created 6 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/lit.local.cfg ('k') | tests_lit/reader_tests/nacl-atomic-intrinsics.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 load instructions. 1 ; Test if we can read load instructions.
2 2
3 ; REQUIRES: allow_dump
4
5 ; RUN: %p2i --no-local-syms -i %s --insts | FileCheck %s 3 ; RUN: %p2i --no-local-syms -i %s --insts | FileCheck %s
6 ; RUN: %if --need=allow_disable_ir_gen --command \ 4 ; RUN: %if --need=allow_disable_ir_gen --command \
7 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \ 5 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \
8 ; RUN: | %if --need=allow_disable_ir_gen --command \ 6 ; RUN: | %if --need=allow_disable_ir_gen --command \
9 ; RUN: FileCheck --check-prefix=NOIR %s 7 ; RUN: FileCheck --check-prefix=NOIR %s
10 8
11 define i32 @load_i8(i32 %addr) { 9 define i32 @load_i8(i32 %addr) {
12 entry: 10 entry:
13 %addr_i8 = inttoptr i32 %addr to i8* 11 %addr_i8 = inttoptr i32 %addr to i8*
14 %v = load i8* %addr_i8, align 1 12 %v = load i8* %addr_i8, align 1
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 %addr_v4xFloat = inttoptr i32 %addr to <4 x float>* 142 %addr_v4xFloat = inttoptr i32 %addr to <4 x float>*
145 %v = load <4 x float>* %addr_v4xFloat, align 4 143 %v = load <4 x float>* %addr_v4xFloat, align 4
146 ret <4 x float> %v 144 ret <4 x float> %v
147 145
148 ; CHECK: __0: 146 ; CHECK: __0:
149 ; CHECK-NEXT: %__1 = load <4 x float>* %__0, align 4 147 ; CHECK-NEXT: %__1 = load <4 x float>* %__0, align 4
150 ; CHECK-NEXT: ret <4 x float> %__1 148 ; CHECK-NEXT: ret <4 x float> %__1
151 } 149 }
152 150
153 ; NOIR: Total across all functions 151 ; NOIR: Total across all functions
OLDNEW
« no previous file with comments | « tests_lit/reader_tests/lit.local.cfg ('k') | tests_lit/reader_tests/nacl-atomic-intrinsics.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698