[llvm] [AMDGPU] Add VGPR MSB-affinity pass to reduce s_set_vgpr_msb on gfx1250 (PR #216909)

Yuyang Zhang via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 23 20:24:03 PDT 2026


================
@@ -659,6 +662,20 @@ class SIMachineFunctionInfo final : public AMDGPUMachineFunctionInfo,
     return MaskForVGPRBlockOps.inBounds(RegisterBlock);
   }
 
+  // Desired VGPR MSB group (HW index >> 8) for a vreg, set by
+  // AMDGPUVGPRMSBAffinity and consumed by getRegAllocationHints below.
----------------
yuyzhang512 wrote:

Done.

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


More information about the llvm-commits mailing list