1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 12:33:33 +02:00
llvm-mirror/test/CodeGen/X86/fast-cc-callee-pops.ll
Anton Korobeynikov eaf27d276a Ensure that fastcall'ed function is correctly mangled & stack is
properly aligned

llvm-svn: 34788
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
}