aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/ret_f64_arg_stack.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/ARM/ret_f64_arg_stack.ll')
-rw-r--r--test/CodeGen/ARM/ret_f64_arg_stack.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/ret_f64_arg_stack.ll b/test/CodeGen/ARM/ret_f64_arg_stack.ll
new file mode 100644
index 000000000000..ba3ec7fb7517
--- /dev/null
+++ b/test/CodeGen/ARM/ret_f64_arg_stack.ll
@@ -0,0 +1,6 @@
+; RUN: llvm-as < %s | llc -march=arm -mattr=+vfp2
+
+define double @test_double_arg_stack(i64 %a1, i32 %a2, i32 %a3, double %a4) {
+ ret double %a4
+}
+