diff options
author | Stephan Herhut <herhut@google.com> | 2022-02-14 17:46:35 +0100 |
---|---|---|
committer | Stephan Herhut <herhut@google.com> | 2022-02-18 09:57:39 +0100 |
commit | a43f7d6d76984ddae4a5e5e0bebf82ee2edebabb (patch) | |
tree | 102af50cd788ef8816d480158383a4bb1852718b /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 35baa26747b0033afac15d7989bc2100b251412c (diff) | |
download | llvm-a43f7d6d76984ddae4a5e5e0bebf82ee2edebabb.zip llvm-a43f7d6d76984ddae4a5e5e0bebf82ee2edebabb.tar.gz llvm-a43f7d6d76984ddae4a5e5e0bebf82ee2edebabb.tar.bz2 |
[mlir][tensor] Extend reshape utils.
This change changes the handling of trailing dimensions with unknown
extent. Users of the changessociationIndicesForReshape helper should
see benefits when transforming reshape like operations into
expand/collapse pairs if the higher-rank type has trailing unknown
dimensions.
The motivating example is a reshape from tensor<16x1x?xi32> to
tensor<16xi32> that can be modeled as collapsing the three dimensions.
Differential Revision: https://reviews.llvm.org/D119730
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions