llvm-6502/test/CodeGen/X86/fast-cc-callee-pops.ll

8 lines
268 B
LLVM
Raw Normal View History

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