[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


================
@@ -434,6 +434,12 @@ static cl::opt<bool> EnableMaxIlpSchedStrategy(
     cl::desc("Enable scheduling strategy to maximize ILP for a single wave."),
     cl::Hidden, cl::init(false));
 
+static cl::opt<bool> EnableMaxMemoryClauseSchedStrategy(
+    "amdgpu-enable-max-memory-clause-scheduling-strategy",
+    cl::desc("Enable scheduling strategy to maximize memory clause for a "
+             "single wave."),
+    cl::Hidden, cl::init(false));
----------------
arsenm wrote:

If we're going to keep cl::opts for this, it should mirror the attribute. One enum cl::opt with the same options as the attribute 

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


More information about the llvm-commits mailing list