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

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


NotLebedev wrote:

> Can you add a test for this?

Added test in `clang/test/CIR/emit-actions.cpp`. It checks that file can be read back by cir-opt, but not necessarily that it is mlir bytecode. I don't think it's possible to validate this with cir-opt?

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


More information about the cfe-commits mailing list