summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2009-06-03-Win64SpillXMM.ll
blob: a0b13f754f91cb8ab9b18da26fd12958b7389c17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llvm-as < %s | llc -o %t1
; RUN: grep "subq.*\\\$72, \\\%rsp" %t1
; RUN: grep "movaps	\\\%xmm8, 32\\\(\\\%rsp\\\)" %t1
; RUN: grep "movaps	\\\%xmm7, 48\\\(\\\%rsp\\\)" %t1
target triple = "x86_64-mingw64"

define i32 @a() nounwind {
entry:
	tail call void asm sideeffect "", "~{xmm7},~{xmm8},~{dirflag},~{fpsr},~{flags}"() nounwind
	ret i32 undef
}