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