llvm-6502/test/CodeGen/ARM/arguments-nosplit-double.ll
Bob Wilson 04746eae49 Fix pr4058 and pr4059. Do not split i64 or double arguments between r3 and
the stack.  Patch by Sandeep Patel.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72106 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-19 10:02:36 +00:00

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)