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 oracle check failure in adce_pass #47080

Merged
merged 1 commit into from
Oct 7, 2022
Merged

Fix oracle check failure in adce_pass #47080

merged 1 commit into from
Oct 7, 2022

Conversation

Keno
Copy link
Member

@Keno Keno commented Oct 6, 2022

This is probably a real issue, though I did not see it cause an actual issue, only an oracle check failure if the verification is turned on. The issue was that we were failing to count the removal of phi node edges during the adce pass, so we were left with excessive counts at completion.

This is probably a real issue, though I did not see it cause an actual issue,
only an oracle check failure if the verification is turned on. The issue
was that we were failing to count the removal of phi node edges during
the adce pass, so we were left with excessive counts at completion.
@Keno Keno merged commit 0620361 into master Oct 7, 2022
@Keno Keno deleted the kf/adceoracle branch October 7, 2022 03:21
Keno added a commit that referenced this pull request Oct 16, 2022
The whole point of this pass is to compute and compare the
counts of all SSA value uses vs those of only-phi uses to
find SSA values that have no real uses. In #47080, I updated
the code to properly account for removal of phi edges in
the SSA count, but neglected to do the same in the phi-only
count, leading to #47180. Fix that.

Fixes #47180
Keno added a commit that referenced this pull request Oct 16, 2022
The whole point of this pass is to compute and compare the
counts of all SSA value uses vs those of only-phi uses to
find SSA values that have no real uses. In #47080, I updated
the code to properly account for removal of phi edges in
the SSA count, but neglected to do the same in the phi-only
count, leading to #47180. Fix that.

Fixes #47180
Keno added a commit that referenced this pull request Oct 17, 2022
The whole point of this pass is to compute and compare the
counts of all SSA value uses vs those of only-phi uses to
find SSA values that have no real uses. In #47080, I updated
the code to properly account for removal of phi edges in
the SSA count, but neglected to do the same in the phi-only
count, leading to #47180. Fix that.

Fixes #47180
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant