[all-commits] [llvm/llvm-project] 5018a5: [PowerPC] Support huge frame size for PPC64

bzEq via All-commits all-commits at lists.llvm.org
Mon Jun 6 02:08:45 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5018a5dcbe70a9e2e39341762ec0ca0ad76d28b4
      https://github.com/llvm/llvm-project/commit/5018a5dcbe70a9e2e39341762ec0ca0ad76d28b4
  Author: Kai Luo <lkail at cn.ibm.com>
  Date:   2022-06-06 (Mon, 06 Jun 2022)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
    M llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
    M llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
    M llvm/lib/Target/PowerPC/PPCInstrInfo.h
    M llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
    A llvm/test/CodeGen/PowerPC/huge-frame-call.ll
    M llvm/test/CodeGen/PowerPC/huge-frame-size.ll
    A llvm/test/CodeGen/PowerPC/huge-frame-unsupported.ll
    M llvm/test/CodeGen/PowerPC/ppc64-rop-protection-aix.ll
    M llvm/test/CodeGen/PowerPC/ppc64-rop-protection.ll

  Log Message:
  -----------
  [PowerPC] Support huge frame size for PPC64

Support allocation of huge stack frame(>2g) on PPC64.

For ELFv2 ABI on Linux, quoted from the spec 2.2.3.1 General Stack Frame Requirements
> There is no maximum stack frame size defined.

On AIX, XL allows such huge frame.

Reviewed By: #powerpc, nemanjai

Differential Revision: https://reviews.llvm.org/D107886




More information about the All-commits mailing list