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