| Index: tests_lit/llvm2ice_tests/align-spill-locations.ll
|
| diff --git a/tests_lit/llvm2ice_tests/align-spill-locations.ll b/tests_lit/llvm2ice_tests/align-spill-locations.ll
|
| index 4db7eb19a5d93e3b803a0e98825113dce11ee88d..c85ebe88bde78c74b35040438d24993e53f0f5be 100644
|
| --- a/tests_lit/llvm2ice_tests/align-spill-locations.ll
|
| +++ b/tests_lit/llvm2ice_tests/align-spill-locations.ll
|
| @@ -1,7 +1,11 @@
|
| ; This checks to ensure that Subzero aligns spill slots.
|
|
|
| -; RUN: %llvm2ice --verbose none %s | FileCheck %s
|
| -; RUN: %llvm2ice -O2 --verbose none %s | FileCheck %s
|
| +; RUN: %llvm2ice --verbose none %s \
|
| +; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \
|
| +; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s
|
| +; RUN: %llvm2ice -O2 --verbose none %s \
|
| +; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \
|
| +; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s
|
| ; RUN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s
|
|
|
| ; The location of the stack slot for a variable is inferred from the
|
| @@ -48,7 +52,7 @@ block:
|
| call void @ForceXmmSpillsAndUseAlloca(i8* %alloc)
|
| ret <4 x i32> %vec.global
|
| ; CHECK-LABEL: align_global_vector_ebp_based:
|
| -; CHECK: movups xmm0, xmmword ptr [ebp-24]
|
| +; CHECK: movups xmm0, xmmword ptr [ebp - 24]
|
| ; CHECK-NEXT: mov esp, ebp
|
| ; CHECK-NEXT: pop ebp
|
| ; CHECK: ret
|
| @@ -61,7 +65,7 @@ entry:
|
| call void @ForceXmmSpillsAndUseAlloca(i8* %alloc)
|
| ret <4 x i32> %vec.local
|
| ; CHECK-LABEL: align_local_vector_ebp_based:
|
| -; CHECK: movups xmm0, xmmword ptr [ebp-24]
|
| +; CHECK: movups xmm0, xmmword ptr [ebp - 24]
|
| ; CHECK-NEXT: mov esp, ebp
|
| ; CHECK-NEXT: pop ebp
|
| ; CHECK: ret
|
| @@ -78,9 +82,10 @@ block:
|
| ret <4 x i32> %vec.local
|
| ; CHECK-LABEL: align_local_vector_and_global_float:
|
| ; CHECK: cvtsi2ss xmm0, eax
|
| -; CHECK-NEXT: movss dword ptr [esp+28], xmm0
|
| +; CHECK-NEXT: movss dword ptr [esp + 28], xmm0
|
| ; CHECK: movups xmm0, xmmword ptr [esp]
|
| -; CHECK-NEXT: add esp, 44
|
| +; There may be a NaCl bundle nop in between.
|
| +; CHECK: add esp, 44
|
| ; CHECK-NEXT: ret
|
| }
|
|
|
|
|