mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-19 01:34:32 +00:00
10 lines
191 B
LLVM
10 lines
191 B
LLVM
|
; RUN: llvm-as < %s | llc -mtriple=arm-linux-gnueabi | not grep r3
|
||
|
; PR4059
|
||
|
|
||
|
define i32 @f(i64 %z, i32 %a, double %b) {
|
||
|
%tmp = call i32 @g(double %b)
|
||
|
ret i32 %tmp
|
||
|
}
|
||
|
|
||
|
declare i32 @g(double)
|