summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/arguments2.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/ARM/arguments2.ll')
-rw-r--r--test/CodeGen/ARM/arguments2.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/arguments2.ll b/test/CodeGen/ARM/arguments2.ll
new file mode 100644
index 00000000000..a515ad75a66
--- /dev/null
+++ b/test/CodeGen/ARM/arguments2.ll
@@ -0,0 +1,9 @@
+; RUN: llc < %s -mtriple=arm-linux-gnueabi
+; RUN: llc < %s -mtriple=arm-apple-darwin
+
+define i32 @f(i32 %a, i128 %b) {
+ %tmp = call i32 @g(i128 %b)
+ ret i32 %tmp
+}
+
+declare i32 @g(i128)