Dont emit 'DBG_VALUE %noreg, ...' to terminate user variable ranges.
[oota-llvm.git] / test / CodeGen / X86 / 2009-06-03-Win64SpillXMM.ll
index cb64bf22c9819e2c1c7c917d5cba9609968c30cd..12bd28518762e547b844bde9759175792e6f02a9 100644 (file)
@@ -1,12 +1,10 @@
-; RUN: llc < %s -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"
+; RUN: llc -mtriple=x86_64-mingw32 < %s | FileCheck %s
+; CHECK: subq    $40, %rsp
+; CHECK: movaps  %xmm8, (%rsp)
+; CHECK: movaps  %xmm7, 16(%rsp)
 
 define i32 @a() nounwind {
 entry:
-       tail call void asm sideeffect "", "~{xmm7},~{xmm8},~{dirflag},~{fpsr},~{flags}"() nounwind
-       ret i32 undef
+        tail call void asm sideeffect "", "~{xmm7},~{xmm8},~{dirflag},~{fpsr},~{flags}"() nounwind
+        ret i32 undef
 }
-