[clang] [flang] [Flang][FIR] Introduce ConvertFIRToMLIR pass. (PR #168703)

Valentin Clement バレンタイン クレメン via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 20 08:54:55 PST 2025


================
@@ -7217,6 +7217,11 @@ def flang_deprecated_no_hlfir : Flag<["-"], "flang-deprecated-no-hlfir">,
   Flags<[HelpHidden]>, Visibility<[FlangOption, FC1Option]>,
   HelpText<"Do not use HLFIR lowering (deprecated)">;
 
+def flang_experimental_lower_through_mlir
+  : Flag<["-"], "flang-experimental-lower-through-mlir">,
+    Flags<[HelpHidden]>, Visibility<[FlangOption, FC1Option]>,
+    HelpText<"Lower form FIR through MLIR to LLVM (experimental)">;
----------------
clementval wrote:

Can we have a better name? MLIR is very generic and FIR is MLIR. 

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


More information about the cfe-commits mailing list