[all-commits] [llvm/llvm-project] 582e3c: [AIX] Refactor AIX Call Lowering to use CCState. N...

Sean Fertile via All-commits all-commits at lists.llvm.org
Mon Oct 28 09:45:11 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 582e3c09d4872db42ecff386031ddf823aab992e
      https://github.com/llvm/llvm-project/commit/582e3c09d4872db42ecff386031ddf823aab992e
  Author: Sean Fertile <sd.fertile at gmail.com>
  Date:   2019-10-28 (Mon, 28 Oct 2019)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    A llvm/test/CodeGen/PowerPC/aix-byval-param.ll
    A llvm/test/CodeGen/PowerPC/aix-nest-param.ll
    A llvm/test/CodeGen/PowerPC/aix-sret-param.ll
    A llvm/test/CodeGen/PowerPC/aix-stackargs.ll

  Log Message:
  -----------
  [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: https://reviews.llvm.org/D69101




More information about the All-commits mailing list