[llvm-branch-commits] [llvm] [amdgpu-cfi: 8/9]: [AMDGPU] Implement -amdgpu-spill-cfi-saved-regs (PR #183149)
Scott Linder via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Mar 9 13:51:08 PDT 2026
================
@@ -113,6 +113,13 @@ class SIFrameLowering final : public AMDGPUFrameLowering {
public:
bool requiresStackPointerReference(const MachineFunction &MF) const;
+ /// If '-amdgpu-spill-cfi-saved-regs' is enabled, emit RA/EXEC spills to
+ /// a free VGPR (lanes) or memory and corresponding CFI rules.
+ void emitCFISavedRegSpills(MachineFunction &MF, MachineBasicBlock &MBB,
----------------
slinder1 wrote:
This prototype is for a function that is never defined, I'm realizing I need to do a better review myself, sorry for not having done it before posting at all.
https://github.com/llvm/llvm-project/pull/183149
More information about the llvm-branch-commits
mailing list