[llvm-branch-commits] [llvm] [2/3][AMDGPU] Physical register tracking in GCN trackers (PR #184275)

Matt Arsenault via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Sep 5 08:55:23 PDT 2026


================
@@ -2431,7 +2431,7 @@ void printNextUseDistancesAsJson(json::OStream &J, const MachineFunction &MF,
   // We don't actually care about register pressure here - just using
   // GCNDownwardRPTracker as a convenient way of getting the set of live
   // registers at a given instruction.
-  GCNDownwardRPTracker RPTracker(LIS);
+  GCNDownwardRPTracker RPTracker(LIS, MRI);
----------------
arsenm wrote:

Can't you get MachineRegisterInfo from LIS?

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


More information about the llvm-branch-commits mailing list