[llvm] [AMDGPU] Avoid repeated hash lookups (NFC) (PR #127573)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 17 23:09:42 PST 2025


================
@@ -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


More information about the llvm-commits mailing list