| OLD | NEW |
| 1 ; This file checks that Subzero generates code in accordance with the | 1 ; This file checks that Subzero generates code in accordance with the |
| 2 ; calling convention for vectors. | 2 ; calling convention for vectors. |
| 3 | 3 |
| 4 ; RUN: %llvm2ice -O2 --verbose none %s | FileCheck %s | 4 ; RUN: %llvm2ice -O2 --verbose none %s | FileCheck %s |
| 5 ; RUN: %llvm2ice -Om1 --verbose none %s | FileCheck --check-prefix=OPTM1 %s | 5 ; RUN: %llvm2ice -Om1 --verbose none %s | FileCheck --check-prefix=OPTM1 %s |
| 6 ; RUN: %llvm2ice -O2 --verbose none %s \ | 6 ; RUN: %llvm2ice -O2 --verbose none %s \ |
| 7 ; RUN: | llvm-mc -arch=x86 -x86-asm-syntax=intel -filetype=obj | 7 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj |
| 8 ; RUN: %llvm2ice -Om1 --verbose none %s \ | 8 ; RUN: %llvm2ice -Om1 --verbose none %s \ |
| 9 ; RUN: | llvm-mc -arch=x86 -x86-asm-syntax=intel -filetype=obj | 9 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj |
| 10 ; RUN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s | 10 ; RUN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s |
| 11 ; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s | 11 ; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s |
| 12 ; RUN: %llvm2iceinsts --pnacl %s | %szdiff %s \ | 12 ; RUN: %llvm2iceinsts --pnacl %s | %szdiff %s \ |
| 13 ; RUN: | FileCheck --check-prefix=DUMP %s | 13 ; RUN: | FileCheck --check-prefix=DUMP %s |
| 14 | 14 |
| 15 ; The first five functions test that vectors are moved from their | 15 ; The first five functions test that vectors are moved from their |
| 16 ; correct argument location to xmm0. | 16 ; correct argument location to xmm0. |
| 17 | 17 |
| 18 define <4 x float> @test_returning_arg0(<4 x float> %arg0, <4 x float> %arg1, <4
x float> %arg2, <4 x float> %arg3, <4 x float> %arg4, <4 x float> %arg5) { | 18 define <4 x float> @test_returning_arg0(<4 x float> %arg0, <4 x float> %arg1, <4
x float> %arg2, <4 x float> %arg3, <4 x float> %arg4, <4 x float> %arg5) { |
| 19 entry: | 19 entry: |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 ; OPTM1-LABEL: test_receiving_vectors: | 246 ; OPTM1-LABEL: test_receiving_vectors: |
| 247 ; OPTM1: call VectorReturn | 247 ; OPTM1: call VectorReturn |
| 248 ; OPTM1: movups {{.*}}, xmm0 | 248 ; OPTM1: movups {{.*}}, xmm0 |
| 249 ; OPTM1: movups xmm0, {{.*}} | 249 ; OPTM1: movups xmm0, {{.*}} |
| 250 ; OPTM1: call VectorReturn | 250 ; OPTM1: call VectorReturn |
| 251 ; OPTM1: ret | 251 ; OPTM1: ret |
| 252 } | 252 } |
| 253 | 253 |
| 254 ; ERRORS-NOT: ICE translation error | 254 ; ERRORS-NOT: ICE translation error |
| 255 ; DUMP-NOT: SZ | 255 ; DUMP-NOT: SZ |
| OLD | NEW |