[llvm] [LoopInterchange] Ignore the cost-model, force interchange if legal (PR #148858)

Sjoerd Meijer via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 17 08:45:03 PDT 2025


================
@@ -106,7 +107,10 @@ static cl::list<RuleTy> Profitabilities(
                clEnumValN(RuleTy::PerInstrOrderCost, "instorder",
                           "Prioritize the IVs order of each instruction"),
                clEnumValN(RuleTy::ForVectorization, "vectorize",
-                          "Prioritize vectorization")));
+                          "Prioritize vectorization"),
+               clEnumValN(RuleTy::Ignore, "ignore",
+                          "Ignore profitability, force interchange (does not "
+                          "work with other options)")));
----------------
sjoerdmeijer wrote:

Done, left a debug message. 

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


More information about the llvm-commits mailing list