[clang] [CIR] Support zero-result ops in clangir TableGen lowering (PR #202273)

Sirui Mu via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 8 06:01:32 PDT 2026


Lancern wrote:

> How should I reserve for the case of multiple results?

AFAIK all multi-value CIR operations are lowered to LLVM dialect with a non-"trivial" way. By "trivial" I mean that the lowering is done by simply replacing the original CIR operation with a corresponding LLVM operation, and this kind of trivial behavior is what the `llvmOp` mechanism tries to cover (at least for now).

So maybe we could just ignore the case of multiple results for now.

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


More information about the cfe-commits mailing list