mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-25 14:32:53 +00:00
8 lines
242 B
LLVM
8 lines
242 B
LLVM
|
; 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
|
||
|
}
|