[PATCH] D69101: [AIX] Refactor AIX Call Lowering to use CCState. NFCI.

Chris Bowler via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 17 04:57:43 PDT 2019


cebowleratibm created this revision.
cebowleratibm added reviewers: sfertile, ZarkoCA, jasonliu.
cebowleratibm added a project: LLVM.
Herald added subscribers: llvm-commits, jsji, MaskRay, kbarton, hiraditya, nemanjai.

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 later patch.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D69101

Files:
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69101.225400.patch
Type: text/x-patch
Size: 10791 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191017/1fe21a22/attachment.bin>


More information about the llvm-commits mailing list