Skip to content

Reapply "[DispatchCreation] Extend multi-use producer fusion"#19032

Merged
IanWood1 merged 2 commits intoiree-org:mainfrom
IanWood1:reland_multi_use_fusion_changes
Nov 5, 2024
Merged

Reapply "[DispatchCreation] Extend multi-use producer fusion"#19032
IanWood1 merged 2 commits intoiree-org:mainfrom
IanWood1:reland_multi_use_fusion_changes

Conversation

@IanWood1
Copy link
Contributor

@IanWood1 IanWood1 commented Nov 5, 2024

Since the upstream changes to getBackwardSlice have been integrated (llvm/llvm-project#114452), its now possible to reland #18855.

The first commit relands the reverted changes. The second commit uses BackwardSliceOptions::omitUsesFromAbove to track all transitive definitions of the possibly fusible op preventing ops being moved before uses. Also, added two tests that check for this issue.

Closes #18879

@IanWood1 IanWood1 changed the title Reapply "[DispatchCreation] Extend multi-use producer fusion" (#18917) Reapply "[DispatchCreation] Extend multi-use producer fusion" Nov 5, 2024
@IanWood1 IanWood1 merged commit 2a5d123 into iree-org:main Nov 5, 2024
…rg#18917)

This reverts commit 8806173.

Signed-off-by: Ian Wood <ianwood2024@u.northwestern.edu>
Signed-off-by: Ian Wood <ianwood2024@u.northwestern.edu>
MaheshRavishankar added a commit to MaheshRavishankar/iree that referenced this pull request Nov 8, 2024
…iree-org#19032)"

This reverts commit 2a5d123.

Seems to cause accuracy regressions nod-ai/amd-shark-ai#437

Signed-off-by: MaheshRavishankar <mahesh.ravishankar@gmail.com>
MaheshRavishankar added a commit that referenced this pull request Nov 8, 2024
…#19032) (#19070)

This reverts commit 2a5d123.

Seems to cause accuracy regressions
nod-ai/amd-shark-ai#437

Signed-off-by: MaheshRavishankar <mahesh.ravishankar@gmail.com>
Groverkss pushed a commit to Groverkss/iree that referenced this pull request Dec 1, 2024
…rg#19032)

Since the upstream changes to `getBackwardSlice` have been integrated
(llvm/llvm-project#114452), its now possible to
reland iree-org#18855.

The first commit relands the reverted changes. The second commit uses
`BackwardSliceOptions::omitUsesFromAbove` to track all transitive
definitions of the possibly fusible op preventing ops being moved before
uses. Also, added two tests that check for this issue.



Closes iree-org#18879

---------

Signed-off-by: Ian Wood <ianwood2024@u.northwestern.edu>
Groverkss pushed a commit to Groverkss/iree that referenced this pull request Dec 1, 2024
…iree-org#19032) (iree-org#19070)

This reverts commit 2a5d123.

Seems to cause accuracy regressions
nod-ai/amd-shark-ai#437

Signed-off-by: MaheshRavishankar <mahesh.ravishankar@gmail.com>
giacs-epic pushed a commit to giacs-epic/iree that referenced this pull request Dec 4, 2024
…rg#19032)

Since the upstream changes to `getBackwardSlice` have been integrated
(llvm/llvm-project#114452), its now possible to
reland iree-org#18855.

The first commit relands the reverted changes. The second commit uses
`BackwardSliceOptions::omitUsesFromAbove` to track all transitive
definitions of the possibly fusible op preventing ops being moved before
uses. Also, added two tests that check for this issue.

Closes iree-org#18879

---------

Signed-off-by: Ian Wood <ianwood2024@u.northwestern.edu>
Signed-off-by: Giacomo Serafini <179146510+giacs-epic@users.noreply.github.com>
giacs-epic pushed a commit to giacs-epic/iree that referenced this pull request Dec 4, 2024
…iree-org#19032) (iree-org#19070)

This reverts commit 2a5d123.

Seems to cause accuracy regressions
nod-ai/amd-shark-ai#437

Signed-off-by: MaheshRavishankar <mahesh.ravishankar@gmail.com>
Signed-off-by: Giacomo Serafini <179146510+giacs-epic@users.noreply.github.com>
IanWood1 added a commit to IanWood1/iree that referenced this pull request Dec 10, 2024
iree-org#19032) (iree-org#19070)

This reverts commit be41632.

Signed-off-by: Ian Wood <ianwood2024@u.northwestern.edu>
IanWood1 added a commit that referenced this pull request Dec 11, 2024
Re-land changes to multi-use fusion #19032 after
#19389 which fixes shortfin
integration tests. This PR was causing the compiler to go down a path
that exposed a bug in Stream.


Closes #19411
This reverts commit be41632.

Signed-off-by: Ian Wood <ianwood2024@u.northwestern.edu>
kuhar pushed a commit to kuhar/iree that referenced this pull request Dec 11, 2024
…org#19431)

Re-land changes to multi-use fusion iree-org#19032 after
iree-org#19389 which fixes shortfin
integration tests. This PR was causing the compiler to go down a path
that exposed a bug in Stream.


Closes iree-org#19411
This reverts commit be41632.

Signed-off-by: Ian Wood <ianwood2024@u.northwestern.edu>
AWoloszyn pushed a commit that referenced this pull request Dec 1, 2025
Re-land changes to multi-use fusion #19032 after
#19389 which fixes shortfin
integration tests. This PR was causing the compiler to go down a path
that exposed a bug in Stream.


Closes #19411
This reverts commit be41632.

Signed-off-by: Ian Wood <ianwood2024@u.northwestern.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[regression] error: operand #0 does not dominate this use

2 participants

Comments