[PATCH] D133625: [mlir][MemRef] Simplify extract_strided_metadata(expand_shape)

Quentin Colombet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 13 17:44:51 PDT 2022


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

- Fix typos
- Add a few comments
- Make sure the constant propagation happens for `dynSize.floorDiv(sizes) * stride` happens, since we know that `dynSize` is a multiple of `sizes`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133625

Files:
  mlir/lib/Dialect/MemRef/Transforms/SimplifyExtractStridedMetadata.cpp
  mlir/test/Dialect/MemRef/simplify-extract-strided-metadata.mlir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133625.459933.patch
Type: text/x-patch
Size: 19699 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220914/24025172/attachment.bin>


More information about the llvm-commits mailing list