diff options
author | Mahesh Ravishankar <ravishankarm@google.com> | 2022-04-12 16:50:43 +0000 |
---|---|---|
committer | Mahesh Ravishankar <ravishankarm@google.com> | 2022-04-12 18:56:32 +0000 |
commit | b40e901333b903fd71f17c3314d3e40f8abde074 (patch) | |
tree | 95204a51d67f1c8d7956cd5f6e7aea198b927a51 /clang/lib/ExtractAPI/API.cpp | |
parent | f061c1050bee9c162f33aad6a4a7a99bc64e055b (diff) | |
download | llvm-b40e901333b903fd71f17c3314d3e40f8abde074.zip llvm-b40e901333b903fd71f17c3314d3e40f8abde074.tar.gz llvm-b40e901333b903fd71f17c3314d3e40f8abde074.tar.bz2 |
[mlir][Linalg] Allow collapsing subset of the reassociations when fusing by collapsing.
This change generalizes the fusion of `tensor.expand_shape` ->
`linalg.generic` op by collapsing to handle cases where only a subset
of the reassociations specified in the `tensor.expand_shape` are valid
to be collapsed.
The method that does the collapsing is refactored to allow it to be a
generic utility when required.
Reviewed By: gysit
Differential Revision: https://reviews.llvm.org/D123153
Diffstat (limited to 'clang/lib/ExtractAPI/API.cpp')
0 files changed, 0 insertions, 0 deletions