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

Side by Side Diff: tests_lit/llvm2ice_tests/undef.ll

Issue 467103004: Subzero: Convert lit test llvm-mc -arch arguments to full -triple. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: x Created 6 years, 4 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/simple-loop.ll ('k') | tests_lit/llvm2ice_tests/unreachable.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 --verbose none %s | FileCheck %s 3 ; RUN: %llvm2ice --verbose none %s | FileCheck %s
4 ; RUN: %llvm2ice -O2 --verbose none %s | FileCheck %s 4 ; RUN: %llvm2ice -O2 --verbose none %s | FileCheck %s
5 ; RUN: %llvm2ice -mattr=sse4.1 --verbose none %s | FileCheck %s 5 ; RUN: %llvm2ice -mattr=sse4.1 --verbose none %s | FileCheck %s
6 ; RUN: %llvm2ice -mattr=sse4.1 -O2 --verbose none %s | FileCheck %s 6 ; RUN: %llvm2ice -mattr=sse4.1 -O2 --verbose none %s | FileCheck %s
7 ; RUN: %llvm2ice -O2 --verbose none %s \ 7 ; RUN: %llvm2ice -O2 --verbose none %s \
8 ; RUN: | llvm-mc -arch=x86 -x86-asm-syntax=intel -filetype=obj 8 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj
9 ; RUN: %llvm2ice -Om1 --verbose none %s \ 9 ; RUN: %llvm2ice -Om1 --verbose none %s \
10 ; RUN: | llvm-mc -arch=x86 -x86-asm-syntax=intel -filetype=obj 10 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj
11 ; RUN: %llvm2ice -mattr=sse4.1 -O2 --verbose none %s \ 11 ; RUN: %llvm2ice -mattr=sse4.1 -O2 --verbose none %s \
12 ; RUN: | llvm-mc -arch=x86 -x86-asm-syntax=intel -filetype=obj 12 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj
13 ; RUN: %llvm2ice -mattr=sse4.1 -Om1 --verbose none %s \ 13 ; RUN: %llvm2ice -mattr=sse4.1 -Om1 --verbose none %s \
14 ; RUN: | llvm-mc -arch=x86 -x86-asm-syntax=intel -filetype=obj 14 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj
15 ; RUN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s 15 ; RUN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s
16 ; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s 16 ; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s
17 ; RUN: %llvm2iceinsts --pnacl %s | %szdiff %s \ 17 ; RUN: %llvm2iceinsts --pnacl %s | %szdiff %s \
18 ; RUN: | FileCheck --check-prefix=DUMP %s 18 ; RUN: | FileCheck --check-prefix=DUMP %s
19 19
20 define i32 @undef_i32() { 20 define i32 @undef_i32() {
21 entry: 21 entry:
22 ret i32 undef 22 ret i32 undef
23 ; CHECK-LABEL: undef_i32: 23 ; CHECK-LABEL: undef_i32:
24 ; CHECK: mov eax, 0 24 ; CHECK: mov eax, 0
(...skipping 260 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) { 285 define <4 x float> @vector_select_v4f32_arg2(<4 x i1> %cond, <4 x float> %a) {
286 entry: 286 entry:
287 %val = select <4 x i1> %cond, <4 x float> %a, <4 x float> undef 287 %val = select <4 x i1> %cond, <4 x float> %a, <4 x float> undef
288 ret <4 x float> %val 288 ret <4 x float> %val
289 ; CHECK-LABEL: vector_select_v4f32_arg2: 289 ; CHECK-LABEL: vector_select_v4f32_arg2:
290 ; CHECK: pxor 290 ; CHECK: pxor
291 } 291 }
292 292
293 ; ERRORS-NOT: ICE translation error 293 ; ERRORS-NOT: ICE translation error
294 ; DUMP-NOT: SZ 294 ; DUMP-NOT: SZ
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/simple-loop.ll ('k') | tests_lit/llvm2ice_tests/unreachable.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698