Skip to content

Commit b40e901

Browse files
author
Mahesh Ravishankar
committed
[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
1 parent f061c10 commit b40e901

File tree

2 files changed

+399
-139
lines changed

2 files changed

+399
-139
lines changed

0 commit comments

Comments
 (0)