mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
9 lines
243 B
LLVM
9 lines
243 B
LLVM
|
; RUN: llvm-as < %s | llc -mtriple=arm-linux-gnueabi -mattr=+vfp2 -float-abi=hard | grep {fcpys s0, s1}
|
||
|
|
||
|
define float @f(float %z, double %a, float %b) {
|
||
|
%tmp = call float @g(float %b)
|
||
|
ret float %tmp
|
||
|
}
|
||
|
|
||
|
declare float @g(float)
|