[llvm] [AMDGPU] Fix speculative register pressure queries (PR #208574)

Tim Gymnich via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 10 04:28:39 PDT 2026


================
@@ -767,8 +767,11 @@ bool GCNDownwardRPTracker::advance(MachineInstr *MI, bool UseInternalIterator) {
   advanceBeforeNext(MI, UseInternalIterator);
   advanceToNext(MI, UseInternalIterator);
   if (!UseInternalIterator) {
+    auto *SavedLastTrackedMI = LastTrackedMI;
----------------
tgymnich wrote:

please use the concrete type here instead of auto

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


More information about the llvm-commits mailing list