[PATCH] D139329: [mlir][ExpandStridedMetadata] Handle collapse_shape of dim of size 1 gracefully

Quentin Colombet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 6 02:47:39 PST 2022


qcolombet updated this revision to Diff 480408.
qcolombet added a comment.

- When dealing with `1x1x...x1` groups, even though the stride is meaningless, make sure we make the type system happy by feeding it the stride it expects


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139329/new/

https://reviews.llvm.org/D139329

Files:
  mlir/lib/Dialect/MemRef/Transforms/ExpandStridedMetadata.cpp
  mlir/test/Dialect/MemRef/expand-strided-metadata.mlir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139329.480408.patch
Type: text/x-patch
Size: 10513 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221206/97fc7ff1/attachment.bin>


More information about the llvm-commits mailing list