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

Side by Side Diff: tests_lit/llvm2ice_tests/undef.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/test_i1.ll ('k') | tests_lit/llvm2ice_tests/unnamed.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 ; This test checks that undef values are represented as zero. 1 ; This test checks that undef values are represented as zero.
2 2
3 ; RUN: %llvm2ice -O2 --verbose none %s \ 3 ; TODO(kschimpf) Find out why lc2i is needed.
4 ; RUN: %p2i -i %s --args -O2 --verbose none \
4 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \ 5 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \
5 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s 6 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s
6 ; RUN: %llvm2ice -Om1 --verbose none %s \ 7 ; RUN: %lc2i -i %s --args -Om1 --verbose none \
7 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \ 8 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \
8 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s 9 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s
9 ; RUN: %llvm2ice -O2 -mattr=sse4.1 --verbose none %s \ 10 ; RUN: %p2i -i %s --args -O2 -mattr=sse4.1 --verbose none \
10 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \ 11 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \
11 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s 12 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s
12 ; RUN: %llvm2ice -Om1 -mattr=sse4.1 --verbose none %s \ 13 ; RUN: %lc2i -i %s --args -Om1 -mattr=sse4.1 --verbose none \
13 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \ 14 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \
14 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s 15 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s
15 ; RUN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s 16 ; RUN: %p2i -i %s --args --verbose none | FileCheck --check-prefix=ERRORS %s
16 ; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s 17 ; RUN: %lc2i -i %s --insts | %szdiff %s | FileCheck --check-prefix=DUMP %s
17 ; RUN: %llvm2iceinsts --pnacl %s | %szdiff %s \
18 ; RUN: | FileCheck --check-prefix=DUMP %s
19 18
20 define i32 @undef_i32() { 19 define i32 @undef_i32() {
21 entry: 20 entry:
22 ret i32 undef 21 ret i32 undef
23 ; CHECK-LABEL: undef_i32 22 ; CHECK-LABEL: undef_i32
24 ; CHECK: mov eax, 0 23 ; CHECK: mov eax, 0
25 } 24 }
26 25
27 define i64 @undef_i64() { 26 define i64 @undef_i64() {
28 entry: 27 entry:
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 define <4 x float> @vector_select_v4f32_arg2(<4 x i1> %cond, <4 x float> %a) { 284 define <4 x float> @vector_select_v4f32_arg2(<4 x i1> %cond, <4 x float> %a) {
286 entry: 285 entry:
287 %val = select <4 x i1> %cond, <4 x float> %a, <4 x float> undef 286 %val = select <4 x i1> %cond, <4 x float> %a, <4 x float> undef
288 ret <4 x float> %val 287 ret <4 x float> %val
289 ; CHECK-LABEL: vector_select_v4f32_arg2 288 ; CHECK-LABEL: vector_select_v4f32_arg2
290 ; CHECK: pxor 289 ; CHECK: pxor
291 } 290 }
292 291
293 ; ERRORS-NOT: ICE translation error 292 ; ERRORS-NOT: ICE translation error
294 ; DUMP-NOT: SZ 293 ; DUMP-NOT: SZ
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/test_i1.ll ('k') | tests_lit/llvm2ice_tests/unnamed.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698