[PATCH] D133166: [mlir][MemRef] Canonicalize extract_strided_metadata(subview)

Quentin Colombet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 7 12:03:46 PDT 2022


qcolombet updated this revision to Diff 458524.
qcolombet added a comment.
Herald added a reviewer: rriddle.

- Introduce a bindSymbolsList function (had to give a different name because the compiler would be confused which version to map otherwise.)
- Build the affine expr upfront and call composedFoldAffineApply just once
- Reformat the tests manually to help readability


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133166

Files:
  mlir/include/mlir/Dialect/MemRef/Transforms/Passes.h
  mlir/include/mlir/Dialect/MemRef/Transforms/Passes.td
  mlir/include/mlir/IR/AffineExpr.h
  mlir/lib/Dialect/MemRef/Transforms/CMakeLists.txt
  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: D133166.458524.patch
Type: text/x-patch
Size: 25930 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220907/0f5250dc/attachment.bin>


More information about the llvm-commits mailing list