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