OLD | NEW |
1 ; Tests if we can read select instructions. | 1 ; Tests if we can read select 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: %if --need=allow_disable_ir_gen --command \ | 6 ; RUN: %if --need=allow_disable_ir_gen --command \ |
5 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \ | 7 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \ |
6 ; RUN: | %if --need=allow_disable_ir_gen --command \ | 8 ; RUN: | %if --need=allow_disable_ir_gen --command \ |
7 ; RUN: FileCheck --check-prefix=NOIR %s | 9 ; RUN: FileCheck --check-prefix=NOIR %s |
8 | 10 |
9 define void @Seli1(i32 %p) { | 11 define void @Seli1(i32 %p) { |
10 entry: | 12 entry: |
11 %vc = trunc i32 %p to i1 | 13 %vc = trunc i32 %p to i1 |
12 %vt = trunc i32 %p to i1 | 14 %vt = trunc i32 %p to i1 |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 ret <4 x float> %r | 294 ret <4 x float> %r |
293 } | 295 } |
294 | 296 |
295 ; CHECK-NEXT: define <4 x float> @SelV4xfloatVcond(<4 x i1> %pc, <4 x float> %pt
, <4 x float> %pe) { | 297 ; CHECK-NEXT: define <4 x float> @SelV4xfloatVcond(<4 x i1> %pc, <4 x float> %pt
, <4 x float> %pe) { |
296 ; CHECK-NEXT: entry: | 298 ; CHECK-NEXT: entry: |
297 ; CHECK-NEXT: %r = select <4 x i1> %pc, <4 x float> %pt, <4 x float> %pe | 299 ; CHECK-NEXT: %r = select <4 x i1> %pc, <4 x float> %pt, <4 x float> %pe |
298 ; CHECK-NEXT: ret <4 x float> %r | 300 ; CHECK-NEXT: ret <4 x float> %r |
299 ; CHECK-NEXT: } | 301 ; CHECK-NEXT: } |
300 | 302 |
301 ; NOIR: Total across all functions | 303 ; NOIR: Total across all functions |
OLD | NEW |