llvm-6502/test/CodeGen/X86/fast-cc-callee-pops.ll
Anton Korobeynikov 9dd9abd87f Ensure that fastcall'ed function is correctly mangled & stack is
properly aligned


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34788 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-01 16:29:22 +00:00

8 lines
257 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -x86-asm-syntax=intel -mcpu=yonah | grep 'ret 20'
; Check that a fastcc function pops its stack variables before returning.
x86_fastcallcc void %func(long %X, long %Y, float %G, double %Z) {
ret void
}