[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:07 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",
----------------
arsenm wrote:

Shouldn't include reasoning in the name. -aggressive-sink-insts-into-cycles? Not sure why we need this either, it seems like an incremental enhancement to SinkInstsIntoCycle

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


More information about the llvm-commits mailing list