summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/arguments_f64_backfill.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/ARM/arguments_f64_backfill.ll')
-rw-r--r--test/CodeGen/ARM/arguments_f64_backfill.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/arguments_f64_backfill.ll b/test/CodeGen/ARM/arguments_f64_backfill.ll
new file mode 100644
index 000000000000..07d928abe81f
--- /dev/null
+++ b/test/CodeGen/ARM/arguments_f64_backfill.ll
@@ -0,0 +1,8 @@
+; RUN: llvm-as < %s | llc -mtriple=arm-linux-gnueabi -mattr=+vfp2 -float-abi=hard | grep {fcpys s0, s1}
+
+define float @f(float %z, double %a, float %b) {
+ %tmp = call float @g(float %b)
+ ret float %tmp
+}
+
+declare float @g(float)