[Mlir-commits] [mlir] [mlir][MemRef] Changed AssumeAlignment into a Pure ViewLikeOp (PR #139521)

Shay Kleiman llvmlistbot at llvm.org
Fri May 16 04:30:22 PDT 2025


shay-kl wrote:

> THis seems good to me, but I dont fully follow why the `ViewLikeOpInterface` here?

I assumed that an identity operation would count as a view, and that since `assume_alignment` returns the same buffer, it could be beneficial for some generic passes. But since it doesn’t change shape or layout, I’m fine with removing the interface if that’s clearer.

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


More information about the Mlir-commits mailing list