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