[llvm] [AMDGPU] Physical register tracking in GCN trackers. (PR #177223)

Diana Picus via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 10 04:00:15 PST 2026


================
@@ -447,6 +460,84 @@ LaneBitmask llvm::getLiveLaneMask(unsigned Reg, SlotIndex SI,
   return getLiveLaneMask(LIS.getInterval(Reg), SI, MRI, LaneMaskFilter);
 }
 
+// Helper to check if a register unit is live at a given slot index.
----------------
rovka wrote:

This comment should be in the header. Also, you don't need to duplicate the comments in the header and implementation, they'll just grow out of sync.

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


More information about the llvm-commits mailing list