[clang] [CIR] Add `-emit-cir-bc` option to cc1 (PR #192211)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 16 02:02:23 PDT 2026
================
@@ -53,7 +53,7 @@ CreateFrontendBaseAction(CompilerInstance &CI) {
unsigned UseCIR = CI.getFrontendOpts().UseClangIRPipeline;
frontend::ActionKind Act = CI.getFrontendOpts().ProgramAction;
- bool EmitsCIR = Act == EmitCIR;
+ bool EmitsCIR = Act == EmitCIR || Act == EmitCIRBC;
if (!UseCIR && EmitsCIR)
llvm::report_fatal_error("-emit-cir and only valid when using -fclangir");
----------------
NotLebedev wrote:
Fixed
https://github.com/llvm/llvm-project/pull/192211
More information about the cfe-commits
mailing list