Skip to content

IdModel: Loop Promotion Analysis Step 1: Build a map of broadcast resolutions for root domains#1650

Merged
naoyam merged 24 commits intomainfrom
idmodel_root_resolution
Feb 16, 2024
Merged

IdModel: Loop Promotion Analysis Step 1: Build a map of broadcast resolutions for root domains#1650
naoyam merged 24 commits intomainfrom
idmodel_root_resolution

Conversation

@naoyam
Copy link
Collaborator

@naoyam naoyam commented Jan 21, 2024

This is the first step of the loop promotion analysis. It may not be very clear what this analysis is intended to do at this point, but in short, the root resolution information is propagated to intermediate and leaf ID groups in the IEL graph, which is then projected back to the loop graph. I thought before diving into the full promotion analysis it would make reviewing easier to split this part off as the first sub-PR with unit tests.

There's a detailed design doc for the overall loop promotion analysis. DM me.

Previously IdModel constructor builds all graphs at once. This
refactoring is done in preparation for loop promotion analysis to allow
testing of each step of the analysis
This is the first step of the loop promotion analysis. It may not be
very clear what this analysis is intended to do at this point, but in
short, the root resolution information is propagated to intermediate and
leaf ID groups in the IEL graph, which is then projected back to the
loop graph. I thought before diving into the full promotion analysis it
would make reviewing easier to split this part off as the first sub-PR
with unit tests.
@naoyam naoyam added the idmodel label Jan 21, 2024
@naoyam
Copy link
Collaborator Author

naoyam commented Jan 21, 2024

!build

@naoyam
Copy link
Collaborator Author

naoyam commented Jan 21, 2024

!build

Base automatically changed from idmodel_refactoring to main January 22, 2024 22:57
@naoyam naoyam changed the title WIP: Build a map of broadcast resolutions for root domains IdModel: Loop Promotion Analysis Step 1: Build a map of broadcast resolutions for root domains Jan 26, 2024
@naoyam naoyam marked this pull request as ready for review January 26, 2024 18:56
@naoyam naoyam requested a review from zasdfgbnm January 26, 2024 18:57
@naoyam
Copy link
Collaborator Author

naoyam commented Jan 27, 2024

!build

@naoyam
Copy link
Collaborator Author

naoyam commented Jan 27, 2024

!build

@naoyam
Copy link
Collaborator Author

naoyam commented Feb 14, 2024

!build

Copy link
Collaborator

@zasdfgbnm zasdfgbnm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Finished reading, don't see any blocking issue.

@naoyam naoyam merged commit bfb086e into main Feb 16, 2024
@naoyam naoyam deleted the idmodel_root_resolution branch February 16, 2024 08:51
naoyam added a commit that referenced this pull request May 10, 2024
This is the final step of the loop promotion analysis. The promotion map
is almost completed at Step 3, but some partially inlined domains need
one more propagation, which is done by Step 4 and Step 5. Step 5 is
mostly just a repeat of Step 3.

This basically concludes the loop promotion analysis, although there are
a couple of issues that were found while working on indexing (#2218).
Those issues will be addressed as further follow-up PRs.

- Step 1: #1650 
- Step 2: #1777 
- Step 3: #1830 
- Step 4: #2003
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants