diff options
author | Nicolas Vasilache <nicolas.vasilache@gmail.com> | 2023-03-21 14:41:20 -0700 |
---|---|---|
committer | Nicolas Vasilache <nicolas.vasilache@gmail.com> | 2023-03-23 04:03:27 -0700 |
commit | 4dc72d47ce88218ff3c6a7ae724beb6ab3ba2ade (patch) | |
tree | 2815c3114d7dafb5953e965d1d05a5ca8d3ad5b3 /llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp | |
parent | 002c4b7b955b1fc8825b4d6b46bb079390bce812 (diff) | |
download | llvm-4dc72d47ce88218ff3c6a7ae724beb6ab3ba2ade.zip llvm-4dc72d47ce88218ff3c6a7ae724beb6ab3ba2ade.tar.gz llvm-4dc72d47ce88218ff3c6a7ae724beb6ab3ba2ade.tar.bz2 |
[mlir][Tensor] Add a FoldTensorSubsetOps pass and patterns
These patterns follow FoldMemRefAliasOps which is further refactored for reuse.
In the process, fix FoldMemRefAliasOps handling of strides for vector.transfer ops which was previously incorrect.
These opt-in patterns generalize the existing canonicalizations on vector.transfer ops.
In the future the blanket canonicalizations will be retired.
They are kept for now to minimize porting disruptions.
Differential Revision: https://reviews.llvm.org/D146624
Diffstat (limited to 'llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp')
0 files changed, 0 insertions, 0 deletions