[Mlir-commits] [mlir] [mlir] [IR] Allow zero strides in StridedLayoutAttr (PR #116463)

donald chen llvmlistbot at llvm.org
Tue Nov 19 23:31:32 PST 2024


cxy-1993 wrote:

> stride-0 memrefs are sketchy.... but I do see the use case you are reaching for. I am fine with dropping this restriction though in any of my use case I would flag a 0-stride memref as a bug. I am happy to stamp though.
> 
> cc @ftynse or @matthias-springer for some additional comments.

Thanks for your review. ping @ftynse @matthias-springer 

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


More information about the Mlir-commits mailing list