[llvm] [AMDGPU] Enable co-exec scheduler for gfx950. (PR #193713)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 23 04:23:32 PDT 2026
================
@@ -424,6 +426,12 @@ void AMDGPUCoExecSchedStrategy::initPolicy(MachineBasicBlock::iterator Begin,
"coexec scheduler only supports top-down scheduling");
RegionPolicy.OnlyTopDown = true;
RegionPolicy.OnlyBottomUp = false;
+
+ // Enable lane-mask tracking so reaching-def queries used by the coexec
+ // heuristics see the correct sub-lane liveness after vgpr<->agpr conversions.
+ // Only needed on subtargets that actually have MAI/AGPR instructions.
+ if (Context->MF->getSubtarget<GCNSubtarget>().hasMAIInsts())
----------------
arsenm wrote:
Also not related to the title
https://github.com/llvm/llvm-project/pull/193713
More information about the llvm-commits
mailing list