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

Fix #29983 #30601

Merged
merged 2 commits into from
Jan 7, 2019
Merged

Fix #29983 #30601

merged 2 commits into from
Jan 7, 2019

Conversation

Keno
Copy link
Member

@Keno Keno commented Jan 5, 2019

SROA was accidentally treating a pending node as old and thus
getting the wrong type when querying the predecessor. As a result
it thought one of the paths was unreachable causing undefined data
to be introduced on that path (generally the 1.0 that happened to
already be in register).

@Keno Keno added kind:bugfix This change fixes an existing bug compiler:optimizer Optimization passes (mostly in base/compiler/ssair/) backport pending 1.0 labels Jan 5, 2019
@KristofferC KristofferC mentioned this pull request Jan 5, 2019
15 tasks
@StefanKarpinski
Copy link
Sponsor Member

Better commit messages, perhaps?

SROA was accidentally treating a pending node as old and thus
getting the wrong type when querying the predecessor. As a result
it thought one of the paths was unreachable causing undefined data
to be introduced on that path (generally the `1.0` that happened to
already be in register).

Fix #29983
I don't have concrete tests for these, but it looks like
they all need the `is_old` predicate for what they're doing,
so switch those over also while we're at it.
@Keno Keno merged commit 34f7a4a into master Jan 7, 2019
@StefanKarpinski StefanKarpinski deleted the kf/sroaold branch January 7, 2019 22:39
@KristofferC KristofferC mentioned this pull request Jan 11, 2019
53 tasks
@StefanKarpinski StefanKarpinski added status:triage This should be discussed on a triage call backport 1.0 and removed backport 1.0 status:triage This should be discussed on a triage call labels Jan 31, 2019
@StefanKarpinski StefanKarpinski removed status:triage This should be discussed on a triage call labels Jan 31, 2019
@KristofferC KristofferC mentioned this pull request Feb 4, 2019
39 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:optimizer Optimization passes (mostly in base/compiler/ssair/) kind:bugfix This change fixes an existing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants