aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/arm-aapcs-vfp.c
diff options
context:
space:
mode:
authorManman Ren <mren@apple.com>2012-08-13 21:23:55 +0000
committerManman Ren <mren@apple.com>2012-08-13 21:23:55 +0000
commit634b3d26969f139a25b223074567ba5ab7ba7dd9 (patch)
tree4862cfe20d81e65ddfe7b67a717ea4f0b919c2d5 /test/CodeGen/arm-aapcs-vfp.c
parent10caec2600089449b58c065d56fc449d095b4536 (diff)
ARM: enable struct byval for AAPCS-VFP.
rdar://9877866 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161790 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/arm-aapcs-vfp.c')
-rw-r--r--test/CodeGen/arm-aapcs-vfp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGen/arm-aapcs-vfp.c b/test/CodeGen/arm-aapcs-vfp.c
index fdd87e0549..614b52dad5 100644
--- a/test/CodeGen/arm-aapcs-vfp.c
+++ b/test/CodeGen/arm-aapcs-vfp.c
@@ -88,3 +88,7 @@ extern void neon_callee(struct neon_struct);
void test_neon(struct neon_struct arg) {
neon_callee(arg);
}
+
+// CHECK: define arm_aapcs_vfpcc void @f33(%struct.s33* byval %s)
+struct s33 { char buf[32*32]; };
+void f33(struct s33 s) { }