aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/fast-cc-callee-pops.ll
blob: 959a14b4c1491bbdcbed2f722fd762c34656e051 (plain)
1
2
3
4
5
6
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
}