[PATCH] D124193: [AMDGPU] Add WWM reserved VGPRs to lane VGPRs list

Christudasan Devadasan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 21 12:15:53 PDT 2022


cdevadas created this revision.
cdevadas added reviewers: arsenm, rampitec, sebastian-ne.
Herald added subscribers: hsmhsm, foad, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
Herald added a project: All.
cdevadas requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

The custom VGPR spills inserted during frame lowering
maintain a separate list for WWM reserved registers.
Added them into the lane VGPRs list that already
tracks such reserved registers and unified the spill
insertion. This patch also defers the creation of stack
slots for WWM VGPRs until PrologEpilogInserter.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D124193

Files:
  llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
  llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
  llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
  llvm/lib/Target/AMDGPU/SIPreAllocateWWMRegs.cpp
  llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124193.424259.patch
Type: text/x-patch
Size: 6624 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220421/d58d4d1d/attachment.bin>


More information about the llvm-commits mailing list