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

Mehdi Amini llvmlistbot at llvm.org
Mon Apr 6 09:37:09 PDT 2026


joker-eph wrote:

> As I mentioned above, LLVM dialect allows int to ptr, and I think this existence indicates that there are still some real-world scenarios that require such an operation.

It's not clear that these use-cases justify adding to the ptr dialect though, there are alternative, like keeping these ops in the LLVM dialect (or your custom dialect), outside of the pointer dialect for now.

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


More information about the Mlir-commits mailing list