[Mlir-commits] [mlir] [mlir][bufferization] Add tensor-like and memref-like interfaces (PR #134220)
Matthias Springer
llvmlistbot at llvm.org
Mon Apr 7 01:33:12 PDT 2025
matthias-springer wrote:
> My plan so far is to switch over to "MemRefLike" / "TensorLike" in the operands / results. I guess this way we don't need to change much (verification related) as the "signature" would require types to implement the new interfaces?
You're right. I thought we infer the type of the tensors in the assembly format. But that is no longer the case. So there won't be any change in assembly format.
> If in terms of the pass, is it true though?
What do you mean by that? From a functional point of view, whether it's defined in C++ or TableGen should not matter. Feel free to move it over to TableGen.
https://github.com/llvm/llvm-project/pull/134220
More information about the Mlir-commits
mailing list