forked from iree-org/iree
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Codegen] Harden yielding logic in TileDispatchUsingForall (iree-org#…
…19212) Currently the TileDispatchUsingForall pass chooses to yield replacements for fused producers based on dominance relative to the tiling root. Now that this pass includes consumer fusion, this can create situations where a single operation is consuming two loop yielded values, blocking fusion. This patch disables yielding of values when there is more than one tilable consumer. As a result, it's common to have remaining producer fusion opportunities after fusing in consumers, so we add another iteration of producer fusion. In the future the fusion worklist needs to include both producer and consumer fusions to enable covering all cases.
- Loading branch information
Showing
2 changed files
with
246 additions
and
7 deletions.
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