[llvm] [AMDGPU] Support bottom-up postRA scheduing. (PR #135295)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 3 04:00:48 PDT 2025
================
@@ -417,7 +417,9 @@ void GCNHazardRecognizer::AdvanceCycle() {
}
void GCNHazardRecognizer::RecedeCycle() {
- llvm_unreachable("hazard recognizer does not support bottom-up scheduling.");
+ if (IsHazardRecognizerMode || ST.getGeneration() < AMDGPUSubtarget::GFX11)
----------------
jayfoad wrote:
This should still be `assert(!IsHazardRecognizerMode)` because the standalone hazard recognizer always runs top-down, right?
https://github.com/llvm/llvm-project/pull/135295
More information about the llvm-commits
mailing list