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

Harrison Hao via llvm-commits llvm-commits at lists.llvm.org
Tue May 27 08:19:14 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)
+    llvm_unreachable(
+        "hazard recognizer does not support bottom-up scheduling.");
----------------
harrisonGPU wrote:

Thanks, I updated it.

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


More information about the llvm-commits mailing list