This is the clang part of D3082.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
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.
Comment Actions
Updated test due to the change made by http://llvm.org/viewvc/llvm-project?view=revision&revision=208185.
Comment Actions
Hi Oliver,
This change LGTM, but maybe Renato could LGTM it too before you commit? I haven't had a *massive* amount of experience with Clang (although the experience I have had is mainly in this area...)
Cheers,
James