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