diff options
author | Lei Zhang <antiagainst@google.com> | 2021-02-05 08:55:32 -0500 |
---|---|---|
committer | Lei Zhang <antiagainst@google.com> | 2021-02-05 09:02:15 -0500 |
commit | 874ce9b80f87ba6eb880aff38ba2a359e3cf12b2 (patch) | |
tree | 0279f43ec37f80b9201ebaf45441ae530bb7cded /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | 2fbbb18c1dbeb124dfc3c2aebae97d4780ff9bd6 (diff) | |
download | llvm-874ce9b80f87ba6eb880aff38ba2a359e3cf12b2.zip llvm-874ce9b80f87ba6eb880aff38ba2a359e3cf12b2.tar.gz llvm-874ce9b80f87ba6eb880aff38ba2a359e3cf12b2.tar.bz2 |
[mlir][vector] Add patterns to cast away leading 1-dim
This patch adds patterns to use vector.shape_cast to cast
away leading 1-dimensions from a few vector operations.
It allows exposing more canonical forms of vector.transfer_read,
vector.transfer_write, vector_extract_strided_slice, and
vector.insert_strided_slice. With this, we can have more
opportunity to cancelling extract/insert ops or forwarding
write/read ops.
Reviewed By: ThomasRaoux
Differential Revision: https://reviews.llvm.org/D95873
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions