summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/fast-cc-callee-pops.ll
blob: 51527ceae162cd5107524f4c7d50d01489ac607b (plain)
1
2
3
4
5
6
7
; RUN: llvm-as < %s | 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
}