[llvm] [LoopInterchange] Enable it by default (WIP) (PR #124911)

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 30 07:57:44 PST 2025


================
@@ -201,7 +201,7 @@ static cl::opt<bool> RunNewGVN("enable-newgvn", cl::init(false), cl::Hidden,
                                cl::desc("Run the NewGVN pass"));
 
 static cl::opt<bool> EnableLoopInterchange(
-    "enable-loopinterchange", cl::init(false), cl::Hidden,
+    "enable-loopinterchange", cl::init(true), cl::Hidden,
----------------
Meinersbur wrote:

Consider to also add switches to the clang driver like `-fvectorize`/`-fno-vectorze` and `-funroll-loops`/`fno-unroll-loops`. GCC's is called `-floop-interchange`.

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


More information about the llvm-commits mailing list