summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/fast-cc-callee-pops.ll
blob: 5e88ed7f00d6fe3c5a4acb78ae23f73e601e2f15 (plain)
1
2
3
4
5
6
7
; RUN: llc < %s -march=x86 -x86-asm-syntax=intel -mcpu=yonah | grep {ret	20}

; Check that a fastcc function pops its stack variables before returning.

define x86_fastcallcc void @func(i64 %X, i64 %Y, float %G, double %Z) nounwind {
        ret void
}
OpenPOWER on IntegriCloud