[PATCH] D135736: [mlir][MemRef] Make reinterpret_cast(extract_strided_metadata) more robust

Quentin Colombet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 1 17:38:31 PDT 2022


qcolombet updated this revision to Diff 472467.
qcolombet added a comment.
Herald added a subscriber: Moerafaat.

- Introduce `getConstifiedMixedXXX` methods for `ReinterpretCastOp` and `ExtractStridedMetadataOp`
- Use this new method to simplify the implementation of `reinterpret_cast(extract_strided_metadata)`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135736

Files:
  mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
  mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
  mlir/test/Dialect/MemRef/canonicalize.mlir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135736.472467.patch
Type: text/x-patch
Size: 18938 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221102/6436f9a9/attachment.bin>


More information about the llvm-commits mailing list