[llvm] [AMDGPU] Add MaxMemoryClauseSchedStrategy (PR #114957)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 3 06:47:35 PST 2024


================
@@ -615,6 +615,137 @@ bool GCNMaxILPSchedStrategy::tryCandidate(SchedCandidate &Cand,
   return false;
 }
 
+GCNMaxMemoryClauseSchedStrategy::GCNMaxMemoryClauseSchedStrategy(
+    const MachineSchedContext *C)
+    : GCNSchedStrategy(C) {
+  SchedStages.push_back(GCNSchedStageID::MemoryClauseInitialSchedule);
+}
+/// GCNMaxMemoryClauseSchedStrategy tries best to clause memory instructions as
----------------
arsenm wrote:

Line separate 

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


More information about the llvm-commits mailing list