================ @@ -384,13 +384,14 @@ class AMDGPUWaitSGPRHazards { } } - bool Changed = State != BlockState[&MBB].Out; + auto &BS = BlockState[&MBB]; ---------------- arsenm wrote: No auto https://github.com/llvm/llvm-project/pull/127573