[PATCH] D132436: [AMDGPU][SIFrameLowering] Unify custom SGPR spill saves and restores (NFC)
Christudasan Devadasan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 22 23:19:23 PDT 2022
cdevadas created this revision.
cdevadas added reviewers: scott.linder, sebastian-ne, rampitec, arsenm.
Herald added subscribers: kosarev, 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.
There is a lot of customization and eventually code duplication in the
frame lowering that handles special SGPR spills like the Frame Pointer.
Incorporating any additional register spill currently makes it difficult.
This patch introduces a custom spill builder to handle the special SGPR
spills exclusively. Various spill methods are special handled using a
separate class.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D132436
Files:
llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
llvm/lib/Target/AMDGPU/SIFrameLowering.h
llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
llvm/lib/Target/AMDGPU/SIRegisterInfo.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132436.454702.patch
Type: text/x-patch
Size: 37821 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220823/d70adc2e/attachment.bin>
More information about the llvm-commits
mailing list