aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/arm-aapcs-vfp.c
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2011-11-02 04:51:36 +0000
committerBob Wilson <bob.wilson@apple.com>2011-11-02 04:51:36 +0000
commit3b694fab31d3a7a8379996cbe7ef8d53f7d677bc (patch)
tree1b5a0c3e8a4143c7b2d957a577c53def93cbbd96 /test/CodeGen/arm-aapcs-vfp.c
parent19bda3ad8b5d37e505214e82fab1d0a0bf00f0fd (diff)
Check for homogeneous aggregate return values with ARM's AAPCS-VFP ABI.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143530 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/arm-aapcs-vfp.c')
-rw-r--r--test/CodeGen/arm-aapcs-vfp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/arm-aapcs-vfp.c b/test/CodeGen/arm-aapcs-vfp.c
index 20b8a742dd..017c14524e 100644
--- a/test/CodeGen/arm-aapcs-vfp.c
+++ b/test/CodeGen/arm-aapcs-vfp.c
@@ -12,10 +12,10 @@ struct homogeneous_struct {
float f3;
float f4;
};
-// CHECK: define arm_aapcs_vfpcc void @test_struct(float %{{.*}}, float %{{.*}}, float %{{.*}}, float %{{.*}})
-extern void struct_callee(struct homogeneous_struct);
-void test_struct(struct homogeneous_struct arg) {
- struct_callee(arg);
+// CHECK: define arm_aapcs_vfpcc %struct.homogeneous_struct @test_struct(float %{{.*}}, float %{{.*}}, float %{{.*}}, float %{{.*}})
+extern struct homogeneous_struct struct_callee(struct homogeneous_struct);
+struct homogeneous_struct test_struct(struct homogeneous_struct arg) {
+ return struct_callee(arg);
}
struct nested_array {