1. [AIX] Refactor AIX Call Lowering to use CCState. NFCI. (details)
Commit 582e3c09d4872db42ecff386031ddf823aab992e by sd.fertile
[AIX] Refactor AIX Call Lowering to use CCState. NFCI.
This patch reworks the AIX call lowering to use CCState. Some defensive
errors are added in this patch to protect from emitting bad code for
calling convention logic that has not been implemented by design. The
use of CCState follows the precedent of other targets and enables the
reuse of calling convention logic in LowerFormalArguments, which will be
rewritten to also use CCState in a late patch.
Patch by Chris Bowler.
Differential Revision:
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was addedllvm/test/CodeGen/PowerPC/aix-nest-param.ll
The file was addedllvm/test/CodeGen/PowerPC/aix-sret-param.ll
The file was addedllvm/test/CodeGen/PowerPC/aix-stackargs.ll
The file was addedllvm/test/CodeGen/PowerPC/aix-byval-param.ll