[PATCH] ARM: Homogeneous aggregates must be allocated to contiguous registers (clang part)
Oliver Stannard
oliver.stannard at arm.com
Wed Mar 19 02:51:30 PDT 2014
The code which I removed from clang enforced two AACPS-VFP rules:
* CPRCs cannot be split between registers and the stack
* If anything has been allocated to the stack, large arguments cannot be split between GPRs and the stack
My change to LLVM only covers the first case, so I have reverted the code in clang which fixes the second case. This means that the amount of code removed from clang is now small, but this set of patches still reduces the PCS knowledge embedded in the IR somewhat.
http://llvm-reviews.chandlerc.com/D3083
CHANGE SINCE LAST DIFF
http://llvm-reviews.chandlerc.com/D3083?vs=7839&id=7938#toc
Files:
lib/CodeGen/CGCall.cpp
lib/CodeGen/TargetInfo.cpp
test/CodeGen/arm-aapcs-vfp.c
test/CodeGen/arm-homogenous.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3083.2.patch
Type: text/x-patch
Size: 18347 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140319/7331e7aa/attachment.bin>
More information about the cfe-commits
mailing list