2016-12-28 02:35:19 +08:00
|
|
|
; RUN: llc -mtriple arm-linux-gnueabi -filetype asm -o - %s | FileCheck %s
|
2009-05-19 18:02:36 +08:00
|
|
|
; PR4059
|
|
|
|
|
2016-12-28 02:35:19 +08:00
|
|
|
declare i32 @g(double)
|
|
|
|
|
2009-05-19 18:02:36 +08:00
|
|
|
define i32 @f(i64 %z, i32 %a, double %b) {
|
2016-12-28 02:35:19 +08:00
|
|
|
%tmp = call i32 @g(double %b)
|
|
|
|
ret i32 %tmp
|
2009-05-19 18:02:36 +08:00
|
|
|
}
|
|
|
|
|
2017-07-07 21:41:33 +08:00
|
|
|
; CHECK-LABEL: f:
|
2016-12-28 02:35:19 +08:00
|
|
|
; CHECK-NOT: r3
|
|
|
|
|