Fix pr4058 and pr4059.  Do not split i64 or double arguments between r3 and
the stack.  Patch by Sandeep Patel.

llvm-svn: 72106
diff --git a/llvm/test/CodeGen/ARM/arguments-nosplit-i64.ll b/llvm/test/CodeGen/ARM/arguments-nosplit-i64.ll
new file mode 100644
index 0000000..5464674
--- /dev/null
+++ b/llvm/test/CodeGen/ARM/arguments-nosplit-i64.ll
@@ -0,0 +1,9 @@
+; 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)