[Mlir-commits] [mlir] [mlir][vector] Don't treat memrefs with empty stride as non-contiguous (PR #76848)

Andrzej WarzyƄski llvmlistbot at llvm.org
Tue Jan 16 01:48:21 PST 2024


banach-space wrote:

> Let's please revert this and not reinvent the wheel in every client. Please use and/or improve `bool isLastMemrefDimUnitStride(MemRefType type);` from BuiltinTypes.h.

There's a few patches involved and I'm guessing that you are referring to the overall logic rather than this change specifically?

I could re-use `isLastMemrefDimUnitStride`, but I think that we need a dedicated hook. Would this work:
* https://github.com/llvm/llvm-project/pull/78247

?

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


More information about the Mlir-commits mailing list