| OLD | NEW |
| 1 ; Tests if we can read select instructions. | 1 ; Tests if we can read select instructions. |
| 2 | 2 |
| 3 ; RUN: llvm-as < %s | pnacl-freeze -allow-local-symbol-tables \ | 3 ; RUN: %p2i -i %s --insts | FileCheck %s |
| 4 ; RUN: | %llvm2ice -notranslate -verbose=inst -build-on-read \ | |
| 5 ; RUN: -allow-pnacl-reader-error-recovery \ | |
| 6 ; RUN: -allow-local-symbol-tables \ | |
| 7 ; RUN: | FileCheck %s | |
| 8 | 4 |
| 9 define void @Seli1(i32 %p) { | 5 define void @Seli1(i32 %p) { |
| 10 entry: | 6 entry: |
| 11 %vc = trunc i32 %p to i1 | 7 %vc = trunc i32 %p to i1 |
| 12 %vt = trunc i32 %p to i1 | 8 %vt = trunc i32 %p to i1 |
| 13 %ve = trunc i32 %p to i1 | 9 %ve = trunc i32 %p to i1 |
| 14 %r = select i1 %vc, i1 %vt, i1 %ve | 10 %r = select i1 %vc, i1 %vt, i1 %ve |
| 15 ret void | 11 ret void |
| 16 } | 12 } |
| 17 | 13 |
| (...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 entry: | 286 entry: |
| 291 %r = select <4 x i1> %pc, <4 x float> %pt, <4 x float> %pe | 287 %r = select <4 x i1> %pc, <4 x float> %pt, <4 x float> %pe |
| 292 ret <4 x float> %r | 288 ret <4 x float> %r |
| 293 } | 289 } |
| 294 | 290 |
| 295 ; CHECK-NEXT: define <4 x float> @SelV4xfloatVcond(<4 x i1> %pc, <4 x float> %pt
, <4 x float> %pe) { | 291 ; CHECK-NEXT: define <4 x float> @SelV4xfloatVcond(<4 x i1> %pc, <4 x float> %pt
, <4 x float> %pe) { |
| 296 ; CHECK-NEXT: entry: | 292 ; CHECK-NEXT: entry: |
| 297 ; CHECK-NEXT: %r = select <4 x i1> %pc, <4 x float> %pt, <4 x float> %pe | 293 ; CHECK-NEXT: %r = select <4 x i1> %pc, <4 x float> %pt, <4 x float> %pe |
| 298 ; CHECK-NEXT: ret <4 x float> %r | 294 ; CHECK-NEXT: ret <4 x float> %r |
| 299 ; CHECK-NEXT: } | 295 ; CHECK-NEXT: } |
| OLD | NEW |