[clang] [CIR] Add CIRGenerator and plug it via CIRGenAction (PR #90831)

Bruno Cardoso Lopes via cfe-commits cfe-commits at lists.llvm.org
Fri May 3 11:44:49 PDT 2024


================
@@ -2900,7 +2900,7 @@ defm clangir : BoolFOption<"clangir",
   PosFlag<SetTrue, [], [ClangOption, CC1Option], "Use the ClangIR pipeline to compile">,
   NegFlag<SetFalse, [], [ClangOption, CC1Option], "Use the AST -> LLVM pipeline to compile">,
   BothFlags<[], [ClangOption, CC1Option], "">>;
-def emit_cir : Flag<["-"], "emit-cir">, Visibility<[CC1Option]>,
+def emit_cir : Flag<["-"], "emit-cir">, Visibility<[ClangOption, CC1Option]>,
----------------
bcardosolopes wrote:

Hmmm, this is content for Aaron, who was opposed to my take.

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


More information about the cfe-commits mailing list