[Dispatch Creation] Sink reshapes through reduction ops#22341
Draft
IanWood1 wants to merge 3 commits intoiree-org:mainfrom
Draft
[Dispatch Creation] Sink reshapes through reduction ops#22341IanWood1 wants to merge 3 commits intoiree-org:mainfrom
IanWood1 wants to merge 3 commits intoiree-org:mainfrom
Conversation
4b5140d to
67e8b33
Compare
f196896 to
82250f9
Compare
10a34c9 to
b6ca77a
Compare
Contributor
Author
This was referenced Nov 19, 2025
IanWood1
added a commit
that referenced
this pull request
Nov 24, 2025
Adds new compiler flag `--dispatch-creation-enable-aggressive-reshape-movement` to enable moving reshapes through reduction operations. The top-level flag controls the pass option `enableReshapeMovementAcrossReductions` in BubbleUpExpandShapes. I have been working to enable this by default on #22341; there are a few issues/regressions to fix. For now, I'm adding this under a flag because this is needed in Fusilli iree-org/fusilli#18 #22502 --------- Signed-off-by: Ian Wood <ianwood@u.northwestern.edu>
b6ca77a to
a602e95
Compare
Signed-off-by: Ian Wood <ianwood@u.northwestern.edu>
Signed-off-by: Ian Wood <ianwood@u.northwestern.edu>
Signed-off-by: Ian Wood <ianwood@u.northwestern.edu>
bangtianliu
pushed a commit
to bangtianliu/iree
that referenced
this pull request
Nov 25, 2025
) Adds new compiler flag `--dispatch-creation-enable-aggressive-reshape-movement` to enable moving reshapes through reduction operations. The top-level flag controls the pass option `enableReshapeMovementAcrossReductions` in BubbleUpExpandShapes. I have been working to enable this by default on iree-org#22341; there are a few issues/regressions to fix. For now, I'm adding this under a flag because this is needed in Fusilli iree-org/fusilli#18 iree-org#22502 --------- Signed-off-by: Ian Wood <ianwood@u.northwestern.edu>
pstarkcdpr
pushed a commit
to pstarkcdpr/iree
that referenced
this pull request
Nov 28, 2025
) Adds new compiler flag `--dispatch-creation-enable-aggressive-reshape-movement` to enable moving reshapes through reduction operations. The top-level flag controls the pass option `enableReshapeMovementAcrossReductions` in BubbleUpExpandShapes. I have been working to enable this by default on iree-org#22341; there are a few issues/regressions to fix. For now, I'm adding this under a flag because this is needed in Fusilli iree-org/fusilli#18 iree-org#22502 --------- Signed-off-by: Ian Wood <ianwood@u.northwestern.edu>
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.
Testing for CI regressions
List of blockers:
a379176(#22341)b6ca77a(#22341)ci-extra: test_torch