[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:16 PST 2026


================
@@ -285,13 +285,41 @@ class GCNRPTracker {
 
 protected:
   const LiveIntervals &LIS;
-  LiveRegSet LiveRegs;
-  GCNRegPressure CurPressure, MaxPressure;
+
+  // Virtual register tracking
+  LiveRegSet VirtLiveRegs;
+  GCNRegPressure CurVirtPressure, MaxVirtPressure;
+
+  // Physical register tracking
+  llvm::LiveRegSet PhysLiveRegs;
----------------
rovka wrote:

```suggestion
  LiveRegSet PhysLiveRegs;
```

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


More information about the llvm-commits mailing list