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