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 ; TODO(kschimpf) Find out why lc2i needed. | 3 ; RUN: %p2i -i %s --args --verbose none \ |
4 ; REQUIRES: allow_llvm_ir_as_input | |
5 ; RUN: %lc2i -i %s --args --verbose none \ | |
6 ; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj \ | 4 ; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj \ |
7 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s | 5 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s |
8 ; RUN: %lc2i -i %s --args -O2 --verbose none \ | 6 ; RUN: %p2i -i %s --args -O2 --verbose none \ |
9 ; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj \ | 7 ; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj \ |
10 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s | 8 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s |
11 | 9 |
12 ; The location of the stack slot for a variable is inferred from the | 10 ; The location of the stack slot for a variable is inferred from the |
13 ; return sequence. | 11 ; return sequence. |
14 | 12 |
15 ; In this file, "global" refers to a variable with a live range across | 13 ; In this file, "global" refers to a variable with a live range across |
16 ; multiple basic blocks (not an LLVM global variable) and "local" | 14 ; multiple basic blocks (not an LLVM global variable) and "local" |
17 ; refers to a variable that is live in only a single basic block. | 15 ; refers to a variable that is live in only a single basic block. |
18 | 16 |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 ; CHECK-LABEL: align_local_vector_and_global_float: | 82 ; CHECK-LABEL: align_local_vector_and_global_float: |
85 ; CHECK: cvtsi2ss xmm0, eax | 83 ; CHECK: cvtsi2ss xmm0, eax |
86 ; CHECK-NEXT: movss dword ptr [esp + {{12|28}}], xmm0 | 84 ; CHECK-NEXT: movss dword ptr [esp + {{12|28}}], xmm0 |
87 ; CHECK: movups xmm0, xmmword ptr [{{esp|esp \+ 16}}] | 85 ; CHECK: movups xmm0, xmmword ptr [{{esp|esp \+ 16}}] |
88 ; CHECK-NEXT: add esp, 44 | 86 ; CHECK-NEXT: add esp, 44 |
89 ; CHECK-NEXT: ret | 87 ; CHECK-NEXT: ret |
90 } | 88 } |
91 | 89 |
92 declare void @ForceXmmSpillsAndUseAlloca(i8*) | 90 declare void @ForceXmmSpillsAndUseAlloca(i8*) |
93 declare void @ForceXmmSpillsAndUseFloat(float) | 91 declare void @ForceXmmSpillsAndUseFloat(float) |
OLD | NEW |