[clang] [llvm] [Clang][Driver] Add an option to control loop-interchange (PR #125830)

Michael Kruse via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 6 03:14:09 PST 2025


================
@@ -316,6 +312,7 @@ PipelineTuningOptions::PipelineTuningOptions() {
   LoopVectorization = true;
   SLPVectorization = false;
   LoopUnrolling = true;
+  LoopInterchange = false;
----------------
Meinersbur wrote:

The default of `LoopInterchange` could be initialized with `EnableLoopInterchange`, as done by `MergeFunctions = EnableMergeFunction`.

Not important for me, but someone might want to keep `-mllvm -enable-loopinterchange` working, e.g. for non-Clang drivers.

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


More information about the cfe-commits mailing list