OLD | NEW |
1 ; This checks to ensure that Subzero aligns spill slots. | 1 ; This checks to ensure that Subzero aligns spill slots. |
2 | 2 |
3 ; RUN: %llvm2ice --verbose none %s \ | 3 ; TODO(kschimpf) Find out why lc2i needed. |
| 4 ; RUN: %lc2i -i %s --args --verbose none \ |
4 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \ | 5 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \ |
5 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s | 6 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s |
6 ; RUN: %llvm2ice -O2 --verbose none %s \ | 7 ; RUN: %lc2i -i %s --args -O2 --verbose none \ |
7 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \ | 8 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \ |
8 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s | 9 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s |
9 ; RUN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s | 10 ; RUN: %lc2i -i %s --args --verbose none | FileCheck --check-prefix=ERRORS %s |
10 | 11 |
11 ; The location of the stack slot for a variable is inferred from the | 12 ; The location of the stack slot for a variable is inferred from the |
12 ; return sequence. | 13 ; return sequence. |
13 | 14 |
14 ; In this file, "global" refers to a variable with a live range across | 15 ; In this file, "global" refers to a variable with a live range across |
15 ; multiple basic blocks (not an LLVM global variable) and "local" | 16 ; multiple basic blocks (not an LLVM global variable) and "local" |
16 ; refers to a variable that is live in only a single basic block. | 17 ; refers to a variable that is live in only a single basic block. |
17 | 18 |
18 define <4 x i32> @align_global_vector(i32 %arg) { | 19 define <4 x i32> @align_global_vector(i32 %arg) { |
19 entry: | 20 entry: |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 ; CHECK-NEXT: movss dword ptr [esp + {{12|28}}], xmm0 | 86 ; CHECK-NEXT: movss dword ptr [esp + {{12|28}}], xmm0 |
86 ; CHECK: movups xmm0, xmmword ptr [{{esp|esp \+ 16}}] | 87 ; CHECK: movups xmm0, xmmword ptr [{{esp|esp \+ 16}}] |
87 ; CHECK-NEXT: add esp, 44 | 88 ; CHECK-NEXT: add esp, 44 |
88 ; CHECK-NEXT: ret | 89 ; CHECK-NEXT: ret |
89 } | 90 } |
90 | 91 |
91 declare void @ForceXmmSpillsAndUseAlloca(i8*) | 92 declare void @ForceXmmSpillsAndUseAlloca(i8*) |
92 declare void @ForceXmmSpillsAndUseFloat(float) | 93 declare void @ForceXmmSpillsAndUseFloat(float) |
93 | 94 |
94 ; ERRORS-NOT: ICE translation error | 95 ; ERRORS-NOT: ICE translation error |
OLD | NEW |