[llvm] [AMDGPU] Add AMDGPU specific tryCandidate() (PR #114957)

Austin Kerbow via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 8 13:29:06 PST 2024


================
@@ -63,6 +63,10 @@ static cl::opt<bool> GCNTrackers(
     cl::desc("Use the AMDGPU specific RPTrackers during scheduling"),
     cl::init(false));
 
+static cl::opt<bool> UseAMDGPUScheduleHeuristic(
+    "amdgpu-use-amdgpu-schedule-heuristic", cl::Hidden,
----------------
kerbowa wrote:

Some of the scheduling changes I'm working on involve having multiple selectable versions of tryCandidate. I think we can assume that future work on the scheduler will always include a custom tryCandidate override. We also already override it in the max-ilp scheduler. So I agree, the name is too broad. I think you should make this a separate SchedStrategy and have it be selectable that way. 

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


More information about the llvm-commits mailing list