[Mlir-commits] [clang] [mlir] [MLIR] Add IntLikeTypeInterface (PR #196363)

Jan Leyonberg llvmlistbot at llvm.org
Thu May 28 06:47:08 PDT 2026


jsjodin wrote:

In the Discourse discussion the interface solution was rejected. Instead the proposed solution is to use casts, so the best thing is to probably introduce a cast operation in CIR to handle this. Maybe something like cir.to_builtin_int might be useful. I could create a PR for this and we can discuss this further. I think only integers will be affected by this since there are interfaces for the other types afaik.

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


More information about the Mlir-commits mailing list