]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/X86/2009-06-03-Win64SpillXMM.ll
Import LLVM, at r72995.
[FreeBSD/FreeBSD.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