mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-08 23:55:03 +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
|
||
|
}
|