aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorLei Zhang <antiagainst@google.com>2021-02-05 08:55:32 -0500
committerLei Zhang <antiagainst@google.com>2021-02-05 09:02:15 -0500
commit874ce9b80f87ba6eb880aff38ba2a359e3cf12b2 (patch)
tree0279f43ec37f80b9201ebaf45441ae530bb7cded /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent2fbbb18c1dbeb124dfc3c2aebae97d4780ff9bd6 (diff)
downloadllvm-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