2017-01-02 19:17:04 +00:00
|
|
|
; RUN: llc -mtriple arm-linux-gnueabi -filetype asm -o - %s | FileCheck %s
|
2009-06-02 17:52:33 +00:00
|
|
|
; PR4058
|
|
|
|
|
2017-01-02 19:17:04 +00:00
|
|
|
declare i32 @g(i64)
|
|
|
|
|
2009-06-02 17:52:33 +00:00
|
|
|
define i32 @f(i64 %z, i32 %a, i64 %b) {
|
2017-01-02 19:17:04 +00:00
|
|
|
%tmp = call i32 @g(i64 %b)
|
|
|
|
ret i32 %tmp
|
2009-06-02 17:52:33 +00:00
|
|
|
}
|
|
|
|
|
2017-07-13 19:25:18 +00:00
|
|
|
; CHECK-LABEL: f:
|
2017-01-02 19:17:04 +00:00
|
|
|
; CHECK-NOT: r3
|
|
|
|
|