mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
10 lines
228 B
LLVM
10 lines
228 B
LLVM
|
; RUN: llvm-as < %s | llc -mtriple=arm-linux-gnueabi
|
||
|
; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin
|
||
|
|
||
|
define float @f(i32 %a, i128 %b) {
|
||
|
%tmp = call float @g(i128 %b)
|
||
|
ret float %tmp
|
||
|
}
|
||
|
|
||
|
declare float @g(i128)
|