[llvm] Split vgpr regalloc pipeline (PR #93526)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri May 31 04:55:30 PDT 2024


================
@@ -32,12 +33,18 @@ using MBBVector = SmallVector<MachineBasicBlock *, 4>;
 
 namespace {
 
+static cl::opt<unsigned> MaxNumVGPRsForWwmAllocation(
+    "amdgpu-num-vgprs-for-wwm-alloc",
+    cl::desc("Max num VGPRs for whole-wave register allocation."),
+    cl::ReallyHidden, cl::init(5));
----------------
arsenm wrote:

This seems really small and odd for a maximum? 

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


More information about the llvm-commits mailing list