-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Refactor LoopFuseSiblingOp and support parallel fusion #94391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 35 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
5020e49
Add getters for multi dim loop variables in LoopLikeOpInterface
srcarroll 50852d5
Refactor LoopFuseSiblingOp and support parallel fusion
srcarroll b73238a
add checkFusionStructuralLegality
srcarroll f5bbd13
replace isLoopWithIdenticalConfiguration with checkFusionStructuralLe…
srcarroll 7d99581
address review comment
srcarroll a5fa3b3
Make return types optional and change names
srcarroll 1babe68
change return type of getInductionVars to SmallVector<Value>
srcarroll 009fd15
address maks's comments
srcarroll d34ad95
change interface method names again and revert steps operand change
srcarroll e0e5262
return option induction vars
srcarroll 7115a6e
address review comments
srcarroll 1d4a444
Merge branch 'main' into add-loop-like-interface-methods
srcarroll af6b030
Merge branch 'add-loop-like-interface-methods' into scf-parallel-loop…
srcarroll 6336fdf
update after rebase
srcarroll aa15617
Merge branch 'main' into scf-parallel-loop-fusion
srcarroll 7dbe646
Merge branch 'main' into scf-parallel-loop-fusion
srcarroll 86406c3
refactor main parallel fusion logic from fuseIfLegal to util func
srcarroll 694d589
remove unused functions
srcarroll 67cb64f
refactor fuseIndependentSiblingForLoops to reuse replaceWithAdditiona…
srcarroll cc8599f
refactor fuseIndependentSiblingForallLoops to reuse replaceWithAdditi…
srcarroll 48b1af9
wip
srcarroll 7a51cb3
Decouple concrete loop type from `createFused` function
srcarroll 3087326
Refactor ForallOp::replaceWithAdditionalYields
srcarroll bcf3d4a
revert unnecessary changes
srcarroll 0cb3c4e
cleanup
srcarroll 7e41a54
address some review comments
srcarroll cc95d75
move `createFused` to `LoopLikeInterface.h`
srcarroll 3430a36
address more review comments
srcarroll 8447c12
switch to function_ref
srcarroll fbd7b72
check optional values
srcarroll ffb73a7
replace equalIterationSpaces with checkFusionStructuredLegality
srcarroll a6d0588
check if isOpSibling in checkFusionStructuralLegality
srcarroll ff47980
remove extra dominance check
srcarroll c6847ec
address more review comments
srcarroll f50c6aa
add more lit tests for scf.parallel
srcarroll 6dd68c1
check for equal loop types in checkFusionStructuralLegality
srcarroll 99d821b
address more comments
srcarroll 6825c15
Merge branch 'main' into scf-parallel-loop-fusion
srcarroll File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.