[all-commits] [llvm/llvm-project] 932dc9: [mlir][MemRef] Add a pattern to simplify `extract_...
qcolombet via All-commits
all-commits at lists.llvm.org
Thu Oct 5 05:32:55 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 932dc9d8c4979f4f0aec33e2b9725a110ded8b61
https://github.com/llvm/llvm-project/commit/932dc9d8c4979f4f0aec33e2b9725a110ded8b61
Author: qcolombet <quentin.colombet at gmail.com>
Date: 2023-10-05 (Thu, 05 Oct 2023)
Changed paths:
M mlir/lib/Dialect/MemRef/Transforms/ExpandStridedMetadata.cpp
M mlir/test/Dialect/MemRef/expand-strided-metadata.mlir
Log Message:
-----------
[mlir][MemRef] Add a pattern to simplify `extract_strided_metadata(ca… (#68291)
…st)`
`expand-strided-metadata` was missing a pattern to get rid of
`memref.cast`.
The pattern is straight foward:
Produce a new `extract_strided_metadata` with the source of the cast and
fold the static information (sizes, strides, offset) along the way.
More information about the All-commits
mailing list