Skip to content
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

Loop alignment: Handle blocks added in loop as part of split edges of LSRA #55047

Merged
merged 4 commits into from
Jul 8, 2021

Conversation

kunalspathak
Copy link
Member

@kunalspathak kunalspathak commented Jul 1, 2021

If there are new blocks added by LSRA that modifies the flow of blocks that are in loop, then make sure that we do not align such
loops if they intersect with the last aligned loop.

Fixes some manifestation of #47094.

If there are new blocks added by LSRA and modifies the flow of
blocks that are in loop, then make sure that we do not align such
loops if they intersect with last aligned loop.
@dotnet-issue-labeler dotnet-issue-labeler bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Jul 1, 2021
@kunalspathak kunalspathak marked this pull request as ready for review July 2, 2021 16:50
@kunalspathak
Copy link
Member Author

@dotnet/jit-contrib

@kunalspathak kunalspathak changed the title Handle blocks added in loop as part of split edges of LSRA Loop alignment: Handle blocks added in loop as part of split edges of LSRA Jul 2, 2021
Copy link
Member

@BruceForstall BruceForstall left a comment

Choose a reason for hiding this comment

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

Any asm diffs?

src/coreclr/jit/emit.cpp Outdated Show resolved Hide resolved
@kunalspathak
Copy link
Member Author

Any asm diffs?

No asm diffs. The scenario mainly come in jitstressregs mode where we end up adding new blocks for resolution.

@ghost
Copy link

ghost commented Jul 8, 2021

Hello @kunalspathak!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@kunalspathak
Copy link
Member Author

Formatting errors will be addressed in #55320

@kunalspathak
Copy link
Member Author

One of the failure is #55315

@kunalspathak kunalspathak merged commit b2a5499 into dotnet:main Jul 8, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Aug 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants