PR3739, part 2: Use an explicit store to spill XMM registers. (Previously,
[oota-llvm.git] / test / CodeGen / X86 / 2009-06-03-Win64SpillXMM.ll
1 ; RUN: llvm-as < %s | llc -o %t1 -f
2 ; RUN: grep "subq.*\\\$40, \\\%rsp" %t1
3 ; RUN: grep "movaps     \\\%xmm8, \\\(\\\%rsp\\\)" %t1
4 ; RUN: grep "movaps     \\\%xmm7, 16\\\(\\\%rsp\\\)" %t1
5 target triple = "x86_64-mingw64"
6
7 define i32 @a() nounwind {
8 entry:
9         tail call void asm sideeffect "", "~{xmm7},~{xmm8},~{dirflag},~{fpsr},~{flags}"() nounwind
10         ret i32 undef
11 }
12