[Mlir-commits] [mlir] [mlir][ptr] Add int_to_ptr && ptr_to_int ops (PR #190527)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Apr 6 09:15:21 PDT 2026
enjustli wrote:
I don't know why they didn't do that, just like C allows converting int64 to pointers. I guess the CUDA implementation already includes such an operation. 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.
https://github.com/llvm/llvm-project/pull/190527
More information about the Mlir-commits
mailing list