Repository navigation
Reapply "[Codegen] Fix dominance issues blocking consumer fusions (#21551)" - #21637
Merged
Max191 merged 2 commits intoAug 8, 2025
Merged
Conversation
…ons (iree-org#21…551)" (iree-org#21632)" This reverts commit a005576. Signed-off-by: Max Dawkins <[email protected]>
Signed-off-by: Max Dawkins <[email protected]>
hhkit
pushed a commit
to opencompl/iree
that referenced
this pull request
Aug 11, 2025
…ee-org#21551)" (iree-org#21637) Reapplies iree-org@9c77258 with a bug fix for iree-org#21622. Operations were being moved by the rewriter before the FuseTilableConsumer pattern was guaranteed to succeed, which added the ops to the pattern worklist every time the pattern failed. This caused an infinite recursion of the pattern application. The fix is to move the ops without the rewriter, so they will not be added to the worklist. This op movement can also be removed once the upstream fusion transformation is refactored to properly handle multi-result scf.forall loops. --------- Signed-off-by: Max Dawkins <[email protected]>
AWoloszyn
pushed a commit
that referenced
this pull request
Dec 1, 2025
…1551)" (#21637) Reapplies 9c77258 with a bug fix for #21622. Operations were being moved by the rewriter before the FuseTilableConsumer pattern was guaranteed to succeed, which added the ops to the pattern worklist every time the pattern failed. This caused an infinite recursion of the pattern application. The fix is to move the ops without the rewriter, so they will not be added to the worklist. This op movement can also be removed once the upstream fusion transformation is refactored to properly handle multi-result scf.forall loops. --------- Signed-off-by: Max Dawkins <[email protected]>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reapplies 9c77258 with a bug fix for #21622. Operations were being moved by the rewriter before the FuseTilableConsumer pattern was guaranteed to succeed, which added the ops to the pattern worklist every time the pattern failed. This caused an infinite recursion of the pattern application. The fix is to move the ops without the rewriter, so they will not be added to the worklist. This op movement can also be removed once the upstream fusion transformation is refactored to properly handle multi-result scf.forall loops.