[llvm-branch-commits] [llvm] [AMDGPU] Add structural stall heuristic to scheduling strategies (PR #169617)
Austin Kerbow via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Feb 27 22:50:02 PST 2026
================
@@ -313,6 +313,10 @@ unsigned GCNHazardRecognizer::PreEmitNoops(MachineInstr *MI) {
return std::max(W, NopPadding.getValue());
}
+unsigned GCNHazardRecognizer::getHazardWaitStates(MachineInstr *MI) const {
+ return const_cast<GCNHazardRecognizer *>(this)->PreEmitNoopsCommon(MI);
----------------
kerbowa wrote:
There will be no hazardrec instantiated preRA so it will not have an impact.
https://github.com/llvm/llvm-project/pull/169617
More information about the llvm-branch-commits
mailing list