[llvm] [AMDGPU] Support bottom-up postRA scheduing. (PR #135295)
Harrison Hao via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 20 03:32:14 PDT 2025
================
@@ -69,6 +69,10 @@ class GCNHazardRecognizer final : public ScheduleHazardRecognizer {
// Advance over a MachineInstr bundle. Look for hazards in the bundled
// instructions.
void processBundle();
+ // Recede over a MachineInstr bundle. Adds bundled instructions to the
+ // EmittedInstrs queue in bottom-up scheduling mode.
+ // TODO: Hazard detection is not yet implemented.
----------------
harrisonGPU wrote:
Thanks! I’ve already noticed that `IsHazardRecognizerMode` is not set in the post-RA scheduler; it’s only enabled in PostRAHazardRecognizer. I also agree that it’s not necessary to implement hazard handling in the post-RA scheduler at this point. :-)
https://github.com/llvm/llvm-project/pull/135295
More information about the llvm-commits
mailing list