[Mlir-commits] [mlir] [mlir][core|ptr] Add `PtrLikeTypeInterface` and casting ops to the `ptr` dialect (PR #137469)
Matthias Springer
llvmlistbot at llvm.org
Sun Apr 27 04:25:55 PDT 2025
================
@@ -13,3 +13,61 @@ func.func @zero_offset(%ptr: !ptr.ptr<#ptr.generic_space>) -> !ptr.ptr<#ptr.gene
%res0 = ptr.ptr_add %ptr, %off : !ptr.ptr<#ptr.generic_space>, index
return %res0 : !ptr.ptr<#ptr.generic_space>
}
+
----------------
matthias-springer wrote:
nit: I would add `-split-input-file`.
https://github.com/llvm/llvm-project/pull/137469
More information about the Mlir-commits
mailing list