diff options
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/CodeGen/X86/musttail-varargs.ll | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/musttail-varargs.ll b/llvm/test/CodeGen/X86/musttail-varargs.ll index 247d78776b8..db4a6f75d83 100644 --- a/llvm/test/CodeGen/X86/musttail-varargs.ll +++ b/llvm/test/CodeGen/X86/musttail-varargs.ll @@ -2,6 +2,7 @@ ; RUN: llc < %s -enable-tail-merge=0 -mtriple=x86_64-linux-gnux32 | FileCheck %s --check-prefix=LINUX-X32 ; RUN: llc < %s -enable-tail-merge=0 -mtriple=x86_64-windows | FileCheck %s --check-prefix=WINDOWS ; RUN: llc < %s -enable-tail-merge=0 -mtriple=i686-windows | FileCheck %s --check-prefix=X86 +; RUN: llc < %s -enable-tail-merge=0 -mtriple=i686-windows -mattr=+sse2 | FileCheck %s --check-prefix=X86 ; Test that we actually spill and reload all arguments in the variadic argument ; pack. Doing a normal call will clobber all argument registers, and we will @@ -136,6 +137,8 @@ define void @g_thunk(i8* %fptr_i8, ...) { ; WINDOWS: jmpq *%rcx # TAILCALL ; X86-LABEL: _g_thunk: +; X86-NOT: push %ebp +; X86-NOT: andl {{.*}}, %esp ; X86: jmpl *%eax # TAILCALL ; Do a simple multi-exit multi-bb test. |

