| OLD | NEW |
| 1 ; Tests malformed insertelement and extractelement vector instructions. | 1 ; Tests malformed insertelement and extractelement vector instructions. |
| 2 | 2 |
| 3 ; RUN: %if --need=allow_dump --command llvm-as < %s \ | 3 ; RUN: %if --need=allow_dump --command llvm-as < %s \ |
| 4 ; RUN: | %if --need=allow_dump --command pnacl-freeze \ | 4 ; RUN: | %if --need=allow_dump --command pnacl-freeze \ |
| 5 ; RUN: | %if --need=allow_dump --command not %pnacl_sz -notranslate \ | 5 ; RUN: | %if --need=allow_dump --command not %pnacl_sz -notranslate \ |
| 6 ; RUN: -build-on-read -allow-pnacl-reader-error-recovery \ | 6 ; RUN: -build-on-read -allow-pnacl-reader-error-recovery \ |
| 7 ; RUN: -filetype=obj -o /dev/null \ |
| 7 ; RUN: | %if --need=allow_dump --command FileCheck %s | 8 ; RUN: | %if --need=allow_dump --command FileCheck %s |
| 8 | 9 |
| 9 ; RUN: %if --need=no_dump --command llvm-as < %s \ | 10 ; RUN: %if --need=no_dump --command llvm-as < %s \ |
| 10 ; RUN: | %if --need=no_dump --command pnacl-freeze \ | 11 ; RUN: | %if --need=no_dump --command pnacl-freeze \ |
| 11 ; RUN: | %if --need=no_dump --command not %pnacl_sz -notranslate \ | 12 ; RUN: | %if --need=no_dump --command not %pnacl_sz -notranslate \ |
| 12 ; RUN: -build-on-read -allow-pnacl-reader-error-recovery \ | 13 ; RUN: -build-on-read -allow-pnacl-reader-error-recovery \ |
| 14 ; RUN: -filetype=obj -o /dev/null \ |
| 13 ; RUN: | %if --need=no_dump --command FileCheck %s --check-prefix=MIN | 15 ; RUN: | %if --need=no_dump --command FileCheck %s --check-prefix=MIN |
| 14 | 16 |
| 15 define void @ExtractV4xi1(<4 x i1> %v, i32 %i) { | 17 define void @ExtractV4xi1(<4 x i1> %v, i32 %i) { |
| 16 %e0 = extractelement <4 x i1> %v, i32 %i | 18 %e0 = extractelement <4 x i1> %v, i32 %i |
| 17 ; CHECK: Error{{.*}} not {{.*}} constant | 19 ; CHECK: Error{{.*}} not {{.*}} constant |
| 18 ; MIN: Error{{.*}} Invalid function record: <6 4 3> | 20 ; MIN: Error{{.*}} Invalid function record: <6 4 3> |
| 19 %e1 = extractelement <4 x i1> %v, i32 4 | 21 %e1 = extractelement <4 x i1> %v, i32 4 |
| 20 ; CHECK: Error{{.*}} not in range | 22 ; CHECK: Error{{.*}} not in range |
| 21 ; MIN: Error{{.*}} Invalid function record: <6 5 3> | 23 ; MIN: Error{{.*}} Invalid function record: <6 5 3> |
| 22 %e2 = extractelement <4 x i1> %v, i32 9 | 24 %e2 = extractelement <4 x i1> %v, i32 9 |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 ; CHECK: Error{{.*}} not {{.*}} constant | 189 ; CHECK: Error{{.*}} not {{.*}} constant |
| 188 ; MIN: Error{{.*}} Invalid function record: <7 5 1 4> | 190 ; MIN: Error{{.*}} Invalid function record: <7 5 1 4> |
| 189 %r1 = insertelement <4 x float> %v, float 3.0, i32 4 | 191 %r1 = insertelement <4 x float> %v, float 3.0, i32 4 |
| 190 ; CHECK: Error{{.*}} not in range | 192 ; CHECK: Error{{.*}} not in range |
| 191 ; MIN: Error{{.*}} Invalid function record: <7 6 2 4> | 193 ; MIN: Error{{.*}} Invalid function record: <7 6 2 4> |
| 192 %r2 = insertelement <4 x float> %v, float 3.0, i32 44 | 194 %r2 = insertelement <4 x float> %v, float 3.0, i32 44 |
| 193 ; CHECK: Error{{.*}} not in range | 195 ; CHECK: Error{{.*}} not in range |
| 194 ; MIN: Error{{.*}} Invalid function record: <7 7 3 4> | 196 ; MIN: Error{{.*}} Invalid function record: <7 7 3 4> |
| 195 ret <4 x float> %r2 | 197 ret <4 x float> %r2 |
| 196 } | 198 } |
| OLD | NEW |