| OLD | NEW |
| 1 ; This file tests bitcasts of vector type. For most operations, these | 1 ; This file tests bitcasts of vector type. For most operations, these |
| 2 ; should be lowered to a no-op on -O2. | 2 ; should be lowered to a no-op on -O2. |
| 3 | 3 |
| 4 ; RUN: %p2i -i %s --assemble --disassemble --args -O2 --verbose none \ | 4 ; RUN: %p2i -i %s --filetype=obj --disassemble --args -O2 \ |
| 5 ; RUN: | FileCheck %s | 5 ; RUN: | FileCheck %s |
| 6 ; RUN: %p2i -i %s --assemble --disassemble --args -Om1 --verbose none \ | 6 ; RUN: %p2i -i %s --filetype=obj --disassemble --args -Om1 \ |
| 7 ; RUN: | FileCheck --check-prefix=OPTM1 %s | 7 ; RUN: | FileCheck --check-prefix=OPTM1 %s |
| 8 | 8 |
| 9 define <16 x i8> @test_bitcast_v16i8_to_v16i8(<16 x i8> %arg) { | 9 define <16 x i8> @test_bitcast_v16i8_to_v16i8(<16 x i8> %arg) { |
| 10 entry: | 10 entry: |
| 11 %res = bitcast <16 x i8> %arg to <16 x i8> | 11 %res = bitcast <16 x i8> %arg to <16 x i8> |
| 12 ret <16 x i8> %res | 12 ret <16 x i8> %res |
| 13 | 13 |
| 14 ; CHECK-LABEL: test_bitcast_v16i8_to_v16i8 | 14 ; CHECK-LABEL: test_bitcast_v16i8_to_v16i8 |
| 15 ; CHECK-NEXT: ret | 15 ; CHECK-NEXT: ret |
| 16 } | 16 } |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 %arg.trunc = trunc i32 %arg to i16 | 192 %arg.trunc = trunc i32 %arg to i16 |
| 193 %res = bitcast i16 %arg.trunc to <16 x i1> | 193 %res = bitcast i16 %arg.trunc to <16 x i1> |
| 194 ret <16 x i1> %res | 194 ret <16 x i1> %res |
| 195 | 195 |
| 196 ; CHECK-LABEL: test_bitcast_i16_to_v16i1 | 196 ; CHECK-LABEL: test_bitcast_i16_to_v16i1 |
| 197 ; CHECK: call {{.*}} R_{{.*}} Sz_bitcast_i16_to_v16i1 | 197 ; CHECK: call {{.*}} R_{{.*}} Sz_bitcast_i16_to_v16i1 |
| 198 | 198 |
| 199 ; OPTM1-LABEL: test_bitcast_i16_to_v16i1 | 199 ; OPTM1-LABEL: test_bitcast_i16_to_v16i1 |
| 200 ; OPTM1: call {{.*}} R_{{.*}} Sz_bitcast_i16_to_v16i1 | 200 ; OPTM1: call {{.*}} R_{{.*}} Sz_bitcast_i16_to_v16i1 |
| 201 } | 201 } |
| OLD | NEW |