| 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: %p2i --assemble --disassemble -i %s --args --verbose none \ | 3 ; RUN: %p2i --filetype=obj --disassemble -i %s --args -Om1 | FileCheck %s |
| 4 ; RUN: | FileCheck %s | 4 ; RUN: %p2i --filetype=obj --disassemble -i %s --args -O2 | FileCheck %s |
| 5 ; RUN: %p2i --assemble --disassemble -i %s --args -O2 --verbose none \ | |
| 6 ; RUN: | FileCheck %s | |
| 7 | 5 |
| 8 ; The location of the stack slot for a variable is inferred from the | 6 ; The location of the stack slot for a variable is inferred from the |
| 9 ; return sequence. | 7 ; return sequence. |
| 10 | 8 |
| 11 ; In this file, "global" refers to a variable with a live range across | 9 ; In this file, "global" refers to a variable with a live range across |
| 12 ; multiple basic blocks (not an LLVM global variable) and "local" | 10 ; multiple basic blocks (not an LLVM global variable) and "local" |
| 13 ; refers to a variable that is live in only a single basic block. | 11 ; refers to a variable that is live in only a single basic block. |
| 14 | 12 |
| 15 define <4 x i32> @align_global_vector(i32 %arg) { | 13 define <4 x i32> @align_global_vector(i32 %arg) { |
| 16 entry: | 14 entry: |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 ; CHECK-LABEL: align_local_vector_and_global_float | 78 ; CHECK-LABEL: align_local_vector_and_global_float |
| 81 ; CHECK: cvtsi2ss xmm0,eax | 79 ; CHECK: cvtsi2ss xmm0,eax |
| 82 ; CHECK-NEXT: movss DWORD PTR [esp+{{0xc|0x1c}}],xmm0 | 80 ; CHECK-NEXT: movss DWORD PTR [esp+{{0xc|0x1c}}],xmm0 |
| 83 ; CHECK: movups xmm0,XMMWORD PTR [{{esp|esp\+0x10}}] | 81 ; CHECK: movups xmm0,XMMWORD PTR [{{esp|esp\+0x10}}] |
| 84 ; CHECK-NEXT: add esp,0x2c | 82 ; CHECK-NEXT: add esp,0x2c |
| 85 ; CHECK-NEXT: ret | 83 ; CHECK-NEXT: ret |
| 86 } | 84 } |
| 87 | 85 |
| 88 declare void @ForceXmmSpillsAndUseAlloca(i8*) | 86 declare void @ForceXmmSpillsAndUseAlloca(i8*) |
| 89 declare void @ForceXmmSpillsAndUseFloat(float) | 87 declare void @ForceXmmSpillsAndUseFloat(float) |
| OLD | NEW |