[llvm] [AMDGPU][Scheduler] Support for rematerializing SGPRs and AGPRs (PR #140036)
Jeffrey Byrnes via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 23 13:46:40 PDT 2025
================
@@ -1705,28 +1707,35 @@ struct ExcessRP {
bool HasAGPRs = false;
/// Whether the subtarget has a unified RF.
bool UnifiedRF;
+ /// Whether we consider that ArchVGPRs can be spilled to AGPRs and the other
+ /// way around.
+ bool AllowVGPRToVGPRSpill;
----------------
jrbyrnes wrote:
nit: naming.
VGPRToVGPR is potentially confusing -- maybe SpillToVecReg?
https://github.com/llvm/llvm-project/pull/140036
More information about the llvm-commits
mailing list