[all-commits] [llvm/llvm-project] 5c4d35: [SystemZ][z/OS] Update lowerCall (#68259)

Yusra Syeda via All-commits all-commits at lists.llvm.org
Thu Oct 5 00:33:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5c4d35d8cfd00885f98b5a863612a5194d235a10
      https://github.com/llvm/llvm-project/commit/5c4d35d8cfd00885f98b5a863612a5194d235a10
  Author: Yusra Syeda <99052248+ysyeda at users.noreply.github.com>
  Date:   2023-10-05 (Thu, 05 Oct 2023)

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZFrameLowering.cpp
    M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp

  Log Message:
  -----------
  [SystemZ][z/OS] Update lowerCall (#68259)

This PR moves some calculation out of `LowerCall` and into
`SystemZXPLINKFrameLowering::processFunctionBeforeFrameFinalized`.
We need to make this change because LowerCall isn't invoked for
functions that don't have function calls, and it is required for some
tooling to work correctly. A function that does not make any calls is
required to allocate 32 bytes for the parameter area required by the
ABI. However, we allocate 64 bytes because this additional space is
utilized by certain tools, like the debugger.

Co-authored-by: Yusra Syeda <yusra.syeda at ibm.com>




More information about the All-commits mailing list