diff --git a/test/Regression/CodeGen/X86/fast-cc-merge-stack-adj.ll b/test/Regression/CodeGen/X86/fast-cc-merge-stack-adj.ll new file mode 100644 index 00000000000..c1729864616 --- /dev/null +++ b/test/Regression/CodeGen/X86/fast-cc-merge-stack-adj.ll @@ -0,0 +1,8 @@ +; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=intel -enable-x86-fastcc | grep 'add %ESP, 8' + +declare fastcc void %func(int %X, long %Y) + +fastcc void %caller(int, long) { + tail call fastcc void %func(int 1234567890, long 0) + ret void +}