[PATCH] D135837: [mlir][MemRef] Simplify extract_strided_metadata(reinterpret_cast)

Quentin Colombet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 21 13:29:19 PDT 2022


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

- Use inferReturnTypes to check if an extract_strided_metadata operation can be built instead of hardcoding the MemRefType.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135837

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: D135837.469745.patch
Type: text/x-patch
Size: 8872 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221021/467b44f8/attachment.bin>


More information about the llvm-commits mailing list