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