[llvm] [AMDGPU] Scale the frame register in place when lowering scalar frame indices (PR #221972)

Pankaj Dwivedi via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 9 05:26:29 PDT 2026


================
@@ -1924,6 +1933,66 @@ void SIFrameLowering::determinePrologEpilogSGPRSaves(
   }
 }
 
+// Match an instruction whose frame index eliminateFrameIndex has to materialize
+// into a scavenged SGPR while SCC is live.
+static bool hasScalarFrameIndexWithLiveSCC(const SIInstrInfo &TII,
----------------
PankajDwivedi-25 wrote:

Agree, Updated.

https://github.com/llvm/llvm-project/pull/221972


More information about the llvm-commits mailing list