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

Preserve ScalarEvolution/MemorySSA in JuliaLICM #45497

Merged
merged 1 commit into from
Jun 6, 2022
Merged

Conversation

pchintalapudi
Copy link
Member

In LLVM 14 LICM requires MSSA to be present in NewPM, so we must preserve it here. Also, NewPM requires that ScalarEvolution be preserved during all loop passes, so handle that case too.

@pchintalapudi pchintalapudi added the compiler:llvm For issues that relate to LLVM label May 29, 2022
@vchuravy vchuravy requested a review from maleadt May 29, 2022 22:53
Copy link
Sponsor Member

@vchuravy vchuravy left a comment

Choose a reason for hiding this comment

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

Looks good to me, but I would appreciate a second set of eyes.

@vchuravy
Copy link
Sponsor Member

@nanosoldier runtests(ALL, vs = ":master")

@vchuravy
Copy link
Sponsor Member

@nanosoldier runbenchmarks(!"scalar", vs=":master")

@pchintalapudi
Copy link
Member Author

As currently written, we don't preserve the passes with the old pass manager (so as to not add additional analysis requirements), so there shouldn't be any discernible change here.

@nanosoldier
Copy link
Collaborator

Your benchmark job has completed - possible performance regressions were detected. A full report can be found here.

@nanosoldier
Copy link
Collaborator

Your package evaluation job has completed - possible new issues were detected. A full report can be found here.

Copy link
Member

@maleadt maleadt left a comment

Choose a reason for hiding this comment

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

I'm not really familiar with this code, but superficially LGTM.

@vtjnash vtjnash merged commit 9086fd0 into master Jun 6, 2022
@vtjnash vtjnash deleted the pc/licm-mssa branch June 6, 2022 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:llvm For issues that relate to LLVM
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants