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