]> granicus.if.org Git - clang/commit
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)
commit52b628c7b9af60ebc3b1053d872787f81941b88c
treea985116af96ec771708d3bbc3da380910b022acd
parent4cb28d91b6ff21ff927731f89dfbcae1442e3a12
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201137 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetInfo.cpp
test/CodeGen/arm-aapcs-vfp.c