[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
Wed Dec 7 05:17:15 PST 2022
qcolombet updated this revision to Diff 480864.
qcolombet added a comment.
- Simplify the control flow with early return
- Don't specialize `min(a) => a`, this should be done as an improvement of the `affine.min` folding.
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.480864.patch
Type: text/x-patch
Size: 11289 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221207/a232d320/attachment.bin>
More information about the llvm-commits
mailing list