[llvm] [MachineSink] Add option for aggressive loop sinking (PR #117247)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 21 17:34:06 PST 2024
================
@@ -100,6 +100,12 @@ static cl::opt<bool>
"register spills"),
cl::init(false), cl::Hidden);
+static cl::opt<bool> AggressivelySinkInstsIntoCycle(
+ "aggressively-sink-insts-to-avoid-spills",
+ cl::desc("Aggressively sink instructions into cycles to avoid "
+ "register spills"),
+ cl::init(false), cl::Hidden);
----------------
arsenm wrote:
If the intent is to actually use this, should not be a cl::opt. cl::opt is for debugging
https://github.com/llvm/llvm-project/pull/117247
More information about the llvm-commits
mailing list