[clang] [flang] [llvm] Introduce -fexperimental-loop-fuse to clang and flang (PR #142686)

Madhur Amilkanthwar via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 1 02:21:12 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),
----------------
madhur13490 wrote:

Done. I think it is a bit of a mess. Options are not uniformly declared and checked. ANyway, for now I have moved `enable-fusion` as you suggested, and this does not recognize `-mllvm -enable-fusion` for clang. 

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


More information about the llvm-commits mailing list