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

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Nov 19 10:18:56 PST 2024


MaheshRavishankar 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.

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


More information about the Mlir-commits mailing list