mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-19 01:13:25 +00:00
6 lines
217 B
LLVM
6 lines
217 B
LLVM
|
; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=intel -tailcallopt | not grep call
|
||
|
define fastcc i32 @bar(i32 %X, i32(double, i32) *%FP) {
|
||
|
%Y = tail call fastcc i32 %FP(double 0.0, i32 %X)
|
||
|
ret i32 %Y
|
||
|
}
|