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