[llvm] [AMDGPU] Support bottom-up postRA scheduing. (PR #135295)

Harrison Hao via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 3 04:31:35 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)
----------------
harrisonGPU wrote:

Yes, hazard recognizer always runs top-down, I have updated it, what do you think about it?

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


More information about the llvm-commits mailing list