[clang] [flang] [llvm] add -floop-fuse to clang and flang (PR #142686)

Ryotaro Kasuga via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 31 03:05:47 PDT 2025


================
@@ -204,6 +205,10 @@ static cl::opt<bool>
     EnableLoopInterchange("enable-loopinterchange", cl::init(false), cl::Hidden,
                           cl::desc("Enable the LoopInterchange Pass"));
 
+static cl::opt<bool> EnableLoopFusion("enable-loopfusion", cl::init(false),
+                                      cl::Hidden,
+                                      cl::desc("Enable the LoopFusion Pass"));
----------------
kasuga-fj wrote:

nit
```suggestion
                                      cl::desc("Enable the LoopFuse Pass"));
```

The pass name is `LoopFuse`.

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


More information about the llvm-commits mailing list