We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9471187 commit 4650a9fCopy full SHA for 4650a9f
llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
@@ -417,9 +417,11 @@ void GCNHazardRecognizer::AdvanceCycle() {
417
}
418
419
void GCNHazardRecognizer::RecedeCycle() {
420
- if (IsHazardRecognizerMode || ST.getGeneration() < AMDGPUSubtarget::GFX11)
421
- report_fatal_error(
422
- "hazard recognizer does not support bottom-up scheduling.");
+ assert(!IsHazardRecognizerMode &&
+ "Bottom-up scheduling shouldn't run in hazard recognizer mode");
+ if (ST.getGeneration() < AMDGPUSubtarget::GFX11)
423
+ report_fatal_error("Hazard recognizer does not support bottom-up "
424
+ "scheduling on pre‑GFX11.");
425
426
427
//===----------------------------------------------------------------------===//
0 commit comments