| OLD | NEW |
| 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: %p2i -i %s --assemble --disassemble --args -O2 --verbose none \ | 3 ; RUN: %p2i -i %s --filetype=obj --disassemble --args -O2 \ |
| 4 ; RUN: | FileCheck %s | 4 ; RUN: | FileCheck %s |
| 5 ; RUN: %p2i -i %s --assemble --disassemble --args -Om1 --verbose none \ | 5 ; RUN: %p2i -i %s --filetype=obj --disassemble --args -Om1 \ |
| 6 ; RUN: | FileCheck %s | 6 ; RUN: | FileCheck %s |
| 7 ; RUN: %p2i -i %s --assemble --disassemble --args -O2 -mattr=sse4.1 \ | 7 ; RUN: %p2i -i %s --filetype=obj --disassemble --args -O2 -mattr=sse4.1 \ |
| 8 ; RUN: --verbose none | FileCheck %s | 8 ; RUN: | FileCheck %s |
| 9 ; RUN: %p2i -i %s --assemble --disassemble --args -Om1 -mattr=sse4.1 \ | 9 ; RUN: %p2i -i %s --filetype=obj --disassemble --args -Om1 -mattr=sse4.1 \ |
| 10 ; RUN: --verbose none | FileCheck %s | 10 ; RUN: | FileCheck %s |
| 11 | 11 |
| 12 define i32 @undef_i32() { | 12 define i32 @undef_i32() { |
| 13 entry: | 13 entry: |
| 14 ret i32 undef | 14 ret i32 undef |
| 15 ; CHECK-LABEL: undef_i32 | 15 ; CHECK-LABEL: undef_i32 |
| 16 ; CHECK: mov eax,0x0 | 16 ; CHECK: mov eax,0x0 |
| 17 } | 17 } |
| 18 | 18 |
| 19 define i64 @undef_i64() { | 19 define i64 @undef_i64() { |
| 20 entry: | 20 entry: |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 ; CHECK: pxor | 274 ; CHECK: pxor |
| 275 } | 275 } |
| 276 | 276 |
| 277 define <4 x float> @vector_select_v4f32_arg2(<4 x i1> %cond, <4 x float> %a) { | 277 define <4 x float> @vector_select_v4f32_arg2(<4 x i1> %cond, <4 x float> %a) { |
| 278 entry: | 278 entry: |
| 279 %val = select <4 x i1> %cond, <4 x float> %a, <4 x float> undef | 279 %val = select <4 x i1> %cond, <4 x float> %a, <4 x float> undef |
| 280 ret <4 x float> %val | 280 ret <4 x float> %val |
| 281 ; CHECK-LABEL: vector_select_v4f32_arg2 | 281 ; CHECK-LABEL: vector_select_v4f32_arg2 |
| 282 ; CHECK: pxor | 282 ; CHECK: pxor |
| 283 } | 283 } |
| OLD | NEW |