-
Notifications
You must be signed in to change notification settings - Fork 645
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DispatchCreation] Move the logic to transpose indexing maps into dis…
…patch formation logic. For cases like ``` %0 = linalg.matmul %1 = linalg.generic { indexing_maps=[affine_map<(d0, d1) -> (d1, d0)>, ...], ...} ins(%0, ... : ...) outs(...) {...} ``` some preprocessing patterns convert these to ``` %0 = linalg.matmul %1 = linalg.generic { indexing_maps=[affine_map<(d0, d1) -> (d0, d1)>, ...], ...} ins(%0, ... : ...) outs(...) {...} ``` to make these operations fusable. But these preprocessing are run too early and doing a spooky-action-at-a-distance. Instead just move this logic into dispatch formation itself. Signed-off-by: MaheshRavishankar <[email protected]>
- Loading branch information
1 parent
fc6c518
commit 6888a18
Showing
2 changed files
with
101 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters