OLD | NEW |
1 ; Tests insertelement and extractelement vector instructions. | 1 ; Tests insertelement and extractelement vector instructions. |
2 | 2 |
| 3 ; REQUIRES: allow_dump |
| 4 |
3 ; RUN: %p2i -i %s --insts | FileCheck %s | 5 ; RUN: %p2i -i %s --insts | FileCheck %s |
4 ; RUN: %l2i -i %s --insts | %ifl FileCheck %s | 6 ; RUN: %l2i -i %s --insts | %ifl FileCheck %s |
5 ; RUN: %lc2i -i %s --insts | %iflc FileCheck %s | 7 ; RUN: %lc2i -i %s --insts | %iflc FileCheck %s |
6 ; RUN: %if --need=allow_disable_ir_gen --command \ | 8 ; RUN: %if --need=allow_disable_ir_gen --command \ |
7 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \ | 9 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \ |
8 ; RUN: | %if --need=allow_disable_ir_gen --command \ | 10 ; RUN: | %if --need=allow_disable_ir_gen --command \ |
9 ; RUN: FileCheck --check-prefix=NOIR %s | 11 ; RUN: FileCheck --check-prefix=NOIR %s |
10 | 12 |
11 define void @ExtractV4xi1(<4 x i1> %v) { | 13 define void @ExtractV4xi1(<4 x i1> %v) { |
12 entry: | 14 entry: |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 ; CHECK-NEXT: define <4 x float> @InsertV4xfloat(<4 x float> %v, float %e) { | 378 ; CHECK-NEXT: define <4 x float> @InsertV4xfloat(<4 x float> %v, float %e) { |
377 ; CHECK-NEXT: entry: | 379 ; CHECK-NEXT: entry: |
378 ; CHECK-NEXT: %r0 = insertelement <4 x float> %v, float %e, i32 0 | 380 ; CHECK-NEXT: %r0 = insertelement <4 x float> %v, float %e, i32 0 |
379 ; CHECK-NEXT: %r1 = insertelement <4 x float> %v, float %e, i32 1 | 381 ; CHECK-NEXT: %r1 = insertelement <4 x float> %v, float %e, i32 1 |
380 ; CHECK-NEXT: %r2 = insertelement <4 x float> %v, float %e, i32 2 | 382 ; CHECK-NEXT: %r2 = insertelement <4 x float> %v, float %e, i32 2 |
381 ; CHECK-NEXT: %r3 = insertelement <4 x float> %v, float %e, i32 3 | 383 ; CHECK-NEXT: %r3 = insertelement <4 x float> %v, float %e, i32 3 |
382 ; CHECK-NEXT: ret <4 x float> %r3 | 384 ; CHECK-NEXT: ret <4 x float> %r3 |
383 ; CHECK-NEXT: } | 385 ; CHECK-NEXT: } |
384 | 386 |
385 ; NOIR: Total across all functions | 387 ; NOIR: Total across all functions |
OLD | NEW |