[llvm] Split vgpr regalloc pipeline (PR #93526)
Christudasan Devadasan via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 5 21:52:53 PDT 2024
================
@@ -1387,11 +1455,20 @@ bool GCNPassConfig::addRegAssignAndRewriteFast() {
// Equivalent of PEI for SGPRs.
addPass(&SILowerSGPRSpillsID);
+
+ // To Allocate wwm registers used in whole quad mode operations (for pixel
+ // shaders).
addPass(&SIPreAllocateWWMRegsID);
----------------
cdevadas wrote:
> My comment here maybe should be a follow up to this patch: SIPreAllocateWWMRegs perhaps should be renamed to SIPreAllocateWQMRegsInPS, and its functionality should be limited to WQM registers.
I would rather not touch it in this patch. These passes will anyway get a revamp in your WIP allocation patches. Let's fix the pass name at that point.
https://github.com/llvm/llvm-project/pull/93526
More information about the llvm-commits
mailing list