[clang] [CIR] Add `-emit-cir-bc` option to cc1 (PR #192211)

via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 16 02:01:38 PDT 2026


================
@@ -100,6 +100,7 @@ TYPE("lto-ir",                   LTO_IR,       INVALID,         "s",      phases
 TYPE("lto-bc",                   LTO_BC,       INVALID,         "o",      phases::Compile, phases::Backend, phases::Assemble, phases::Link)
 
 TYPE("cir",                      CIR,          INVALID,         "cir",    phases::Compile, phases::Backend, phases::Assemble, phases::Link)
+TYPE("cir",                      CIR_BC,       INVALID,         "cirbc",  phases::Compile, phases::Backend, phases::Assemble, phases::Link)
----------------
NotLebedev wrote:

Fixed this but I'm not 100% sure. `LLVM_IR` format and `LLVM_BC` (`"ll"` and `"bc"`) are both called `"ir"`

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


More information about the cfe-commits mailing list