[llvm] [AMDGPU] Add and optionally use GCNIterativeRPTrackers (PR #88797)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 18 02:24:57 PDT 2024


================
@@ -343,6 +343,48 @@ void GCNRPTracker::reset(const MachineInstr &MI,
   MaxPressure = CurPressure = getRegPressure(*MRI, LiveRegs);
 }
 
+DenseMap<int, GCNRPTracker::LiveRegSet>
----------------
arsenm wrote:

I'm not sure what the key is here. I'm also concerned by building maps for liveness info, that's already encoded in the LiveIntervals. Most of this code is also replicating logic from the generic tracker, and all of this is really hard to get correct. 

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


More information about the llvm-commits mailing list