[clang] [CIR] Initial implementation of lowering CIR to MLIR (PR #127835)

Valentin Clement バレンタイン クレメン via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 20 14:20:21 PST 2025


================
@@ -2958,6 +2958,8 @@ defm clangir : BoolFOption<"clangir",
   BothFlags<[], [ClangOption, CC1Option], "">>;
 def emit_cir : Flag<["-"], "emit-cir">, Visibility<[ClangOption, CC1Option]>,
   Group<Action_Group>, HelpText<"Build ASTs and then lower to ClangIR">;
+def emit_cir_mlir : Flag<["-"], "emit-cir-mlir">, Visibility<[CC1Option]>, Group<Action_Group>,
----------------
clementval wrote:

We don't have a lowering to core dialects at the moment. At least two attempts have been made for that but nothing is upstream so far. 

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


More information about the cfe-commits mailing list