-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
sroa: Lift restriction that all_same optimization must give SSAValue #52338
Conversation
@nanosoldier |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The base test suite seems to be successful on this PR.
The package evaluation job you requested has completed - possible new issues were detected. |
This restriction has been in there since this code was added in #44557. Unfortunately, I can't tell from the commit history why this restriction was added. It's possible that it was trying to avoid putting things into statement position that were not allowed in the phi block, but we have cleaned that up since (#50308 and related), so let's see if this restriction is still required, since I was seeing some suboptimial optimization results because of this.
5179b1c
to
74b8b6a
Compare
@nanosoldier |
FWIW, I found the bug that showed up on PkgEval, but it unraveled a whole thread, so standby for that |
The package evaluation job you requested has completed - possible new issues were detected. |
Sanity check to make sure I actually fixed the bug: |
The package evaluation job you requested has completed - no new issues were detected. |
@nanosoldier |
The package evaluation job you requested has completed - possible new issues were detected. |
ae2d3cd
to
05fbff4
Compare
Although the path that created the NewSSAValue in the PkgEval case shouldn't really be there, so also add a small optimization that renames ssa values more aggressively, so that we can actually test this.
05fbff4
to
50f64d0
Compare
@nanosoldier |
The package evaluation job you requested has completed - no new issues were detected. |
This restriction has been in there since this code was added in #44557. Unfortunately, I can't tell from the commit history why this restriction was added. It's possible that it was trying to avoid putting things into statement position that were not allowed in the phi block, but we have cleaned that up since (#50308 and related), so let's see if this restriction is still required, since I was seeing some suboptimial optimization results because of this.