[Mlir-commits] [mlir] [mlir][ptr] Add int_to_ptr && ptr_to_int ops (PR #190527)

Fabian Mora llvmlistbot at llvm.org
Sun Apr 5 09:22:21 PDT 2026


fabianmcg wrote:

Thanks for this!
Quick question what's your use case for the conversions to/from int?

I've been resisting adding these operations because I think they are a mistake. In general these have too many issues around provenance, and in general complicate semantics.

I would prefer not to add these, however, I'm open to hear use cases and whether we should have them or not.

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


More information about the Mlir-commits mailing list