From: Chris Lattner Date: Fri, 13 May 2005 22:15:26 +0000 (+0000) Subject: new testcase X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=e2fd52397c057470b1d805102a7cbe89692d816d;p=oota-llvm.git new testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21989 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/X86/fast-cc-callee-pops.ll b/test/CodeGen/X86/fast-cc-callee-pops.ll new file mode 100644 index 00000000000..959a14b4c14 --- /dev/null +++ b/test/CodeGen/X86/fast-cc-callee-pops.ll @@ -0,0 +1,7 @@ +; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=intel -enable-x86-fastcc | 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 +}