AAPCS: Do not split structs after CPRC allocated on stack
authorOliver Stannard <oliver.stannard@arm.com>
Tue, 11 Feb 2014 09:25:50 +0000 (09:25 +0000)
committerOliver Stannard <oliver.stannard@arm.com>
Tue, 11 Feb 2014 09:25:50 +0000 (09:25 +0000)
commit405bdeddd18318d3b10edd474f6f08caa5e3a1d4
treefabd5c9b2bc246816881c151d0b6b5aec38de886
parent70e6585f0c7fd6385734ccf9d88fc1ad87e62a0d
AAPCS: Do not split structs after CPRC allocated on stack

According to the AAPCS, we can split structs between GPRs and the stack,
except for when an argument has already been allocated on the stack. This
can occur when a large number of floating-point arguments fill up the VFP
registers, and are alllocated on the stack before the general-purpose argument
registers are full.

llvm-svn: 201137
clang/lib/CodeGen/TargetInfo.cpp
clang/test/CodeGen/arm-aapcs-vfp.c