aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/ret_f32_arg5.ll
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2009-04-17 19:07:39 +0000
committerBob Wilson <bob.wilson@apple.com>2009-04-17 19:07:39 +0000
commitfd4511769b8f5170ef89d39b7a3c3f6a1d5d305b (patch)
tree4f697a8bf24d7aca7c17a6042b6c9307ce43c36d /test/CodeGen/ARM/ret_f32_arg5.ll
parentc8c743668bb4ef113c6b6ffa9ad4e1250c7af5f4 (diff)
downloadexternal_llvm-fd4511769b8f5170ef89d39b7a3c3f6a1d5d305b.tar.gz
external_llvm-fd4511769b8f5170ef89d39b7a3c3f6a1d5d305b.tar.bz2
external_llvm-fd4511769b8f5170ef89d39b7a3c3f6a1d5d305b.zip
Use CallConvLower.h and TableGen descriptions of the calling conventions
for ARM. Patch by Sandeep Patel. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69371 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/ret_f32_arg5.ll')
-rw-r--r--test/CodeGen/ARM/ret_f32_arg5.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/ret_f32_arg5.ll b/test/CodeGen/ARM/ret_f32_arg5.ll
new file mode 100644
index 0000000000..3418be93e1
--- /dev/null
+++ b/test/CodeGen/ARM/ret_f32_arg5.ll
@@ -0,0 +1,6 @@
+; RUN: llvm-as < %s | llc -march=arm -mattr=+vfp2
+
+define float @test_f32_arg5(float %a1, float %a2, float %a3, float %a4, float %a5) {
+ ret float %a5
+}
+