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

Side by Side Diff: tests_lit/reader_tests/select.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/reader_tests/phi.ll ('k') | tests_lit/reader_tests/store.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 ; Tests if we can read select instructions. 1 ; Tests if we can read select instructions.
2 2
3 ; RUN: llvm-as < %s | pnacl-freeze -allow-local-symbol-tables \ 3 ; RUN: %p2i -i %s --insts | FileCheck %s
4 ; RUN: | %llvm2ice -notranslate -verbose=inst -build-on-read \
5 ; RUN: -allow-pnacl-reader-error-recovery \
6 ; RUN: -allow-local-symbol-tables \
7 ; RUN: | FileCheck %s
8 4
9 define void @Seli1(i32 %p) { 5 define void @Seli1(i32 %p) {
10 entry: 6 entry:
11 %vc = trunc i32 %p to i1 7 %vc = trunc i32 %p to i1
12 %vt = trunc i32 %p to i1 8 %vt = trunc i32 %p to i1
13 %ve = trunc i32 %p to i1 9 %ve = trunc i32 %p to i1
14 %r = select i1 %vc, i1 %vt, i1 %ve 10 %r = select i1 %vc, i1 %vt, i1 %ve
15 ret void 11 ret void
16 } 12 }
17 13
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 entry: 286 entry:
291 %r = select <4 x i1> %pc, <4 x float> %pt, <4 x float> %pe 287 %r = select <4 x i1> %pc, <4 x float> %pt, <4 x float> %pe
292 ret <4 x float> %r 288 ret <4 x float> %r
293 } 289 }
294 290
295 ; CHECK-NEXT: define <4 x float> @SelV4xfloatVcond(<4 x i1> %pc, <4 x float> %pt , <4 x float> %pe) { 291 ; CHECK-NEXT: define <4 x float> @SelV4xfloatVcond(<4 x i1> %pc, <4 x float> %pt , <4 x float> %pe) {
296 ; CHECK-NEXT: entry: 292 ; CHECK-NEXT: entry:
297 ; CHECK-NEXT: %r = select <4 x i1> %pc, <4 x float> %pt, <4 x float> %pe 293 ; CHECK-NEXT: %r = select <4 x i1> %pc, <4 x float> %pt, <4 x float> %pe
298 ; CHECK-NEXT: ret <4 x float> %r 294 ; CHECK-NEXT: ret <4 x float> %r
299 ; CHECK-NEXT: } 295 ; CHECK-NEXT: }
OLDNEW
« no previous file with comments | « tests_lit/reader_tests/phi.ll ('k') | tests_lit/reader_tests/store.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698