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

Tarun Prabhu via flang-commits flang-commits at lists.llvm.org
Thu Aug 28 11:16:41 PDT 2025


================
@@ -6870,6 +6870,8 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
                   options::OPT_fno_unroll_loops);
   Args.AddLastArg(CmdArgs, options::OPT_floop_interchange,
                   options::OPT_fno_loop_interchange);
+  Args.addOptInFlag(CmdArgs, options::OPT_fexperimental_loop_fusion,
+                  options::OPT_fno_experimental_loop_fusion);
----------------
tarunprabhu wrote:

NIT: Alignment

You probably need to run `clang-format` on the code that you have added.

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


More information about the flang-commits mailing list