[llvm] [AMDGPU] Refactor hazard recognizer for VALU-pipeline hazards. NFCI. (PR #168801)

Stanislav Mekhanoshin via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 1 10:08:41 PST 2025


================
@@ -94,6 +98,9 @@ class GCNHazardRecognizer final : public ScheduleHazardRecognizer {
   int checkReadM0Hazards(MachineInstr *SMovRel);
   int checkNSAtoVMEMHazard(MachineInstr *MI);
   int checkFPAtomicToDenormModeHazard(MachineInstr *MI);
+  // emit V_NOP instructions. \p WaitStatesNeeded is the number of V_NOPs we
----------------
rampitec wrote:

Done

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


More information about the llvm-commits mailing list