OSDN Git Service

new testcase
authorChris Lattner <sabre@nondot.org>
Sat, 14 May 2005 23:52:09 +0000 (23:52 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 14 May 2005 23:52:09 +0000 (23:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22037 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/fast-cc-merge-stack-adj.ll [new file with mode: 0644]

diff --git a/test/CodeGen/X86/fast-cc-merge-stack-adj.ll b/test/CodeGen/X86/fast-cc-merge-stack-adj.ll
new file mode 100644 (file)
index 0000000..c172986
--- /dev/null
@@ -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
+}