[llvm] Split vgpr regalloc pipeline (PR #93526)
Carl Ritson via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 3 01:30:22 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);
----------------
perlfu wrote:
I think the comment in the code is misleading since WWM registers pre-allocated are used in all shader types (not just PS) for atomic optimization and subgroup intercommunication.
https://github.com/llvm/llvm-project/pull/93526
More information about the llvm-commits
mailing list