Implement PR3495: local spiller optimization. The local spiller can now keep availabi...
[oota-llvm.git] / test / CodeGen / X86 / fast-cc-callee-pops.ll
index 633e7c4868c8c2e58fc2457e8eb49b80ab1eb199..941f7087f6241dd5b66dd9651d89f9b832714623 100644 (file)
@@ -1,7 +1,8 @@
-; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=intel -enable-x86-fastcc  | grep 'ret 28'
+; RUN: llvm-as < %s | \
+; RUN:   llc -march=x86 -x86-asm-syntax=intel -mcpu=yonah | grep {ret  20}
 
 ; Check that a fastcc function pops its stack variables before returning.
 
-fastcc void %func(long %X, long %Y, float %G, double %Z) {
-       ret void
+define x86_fastcallcc void @func(i64 %X, i64 %Y, float %G, double %Z) nounwind {
+        ret void
 }