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

inference: relax backedge optimization condition #45030

Merged
merged 1 commit into from
Apr 20, 2022
Merged

Conversation

aviatesk
Copy link
Member

Follows up #45017.
We can relax the condition in add_call_backedges! for backedge optimization
by ignoring the nonoverlayed property when the AbstractInterpreter
doesn't use overlayed method table at all, since the property will never
be tainted anyway even if we add a new method later.

@aviatesk aviatesk requested a review from vtjnash April 19, 2022 09:17
@aviatesk aviatesk added the backport 1.8 Change should be backported to release-1.8 label Apr 19, 2022
@KristofferC KristofferC mentioned this pull request Apr 19, 2022
67 tasks
Follows up #45017.
We can relax the condition in `add_call_backedges!` for backedge optimization
by ignoring the `nonoverlayed` property when the `AbstractInterpreter`
doesn't use overlayed method table at all, since the property will never
be tainted anyway even if we add a new method later.
@aviatesk aviatesk merged commit 406c526 into master Apr 20, 2022
@aviatesk aviatesk deleted the avi/follow45017 branch April 20, 2022 05:22
aviatesk added a commit that referenced this pull request Apr 20, 2022
Follows up #45017.
We can relax the condition in `add_call_backedges!` for backedge optimization
by ignoring the `nonoverlayed` property when the `AbstractInterpreter`
doesn't use overlayed method table at all, since the property will never
be tainted anyway even if we add a new method later.
@aviatesk aviatesk removed the backport 1.8 Change should be backported to release-1.8 label Apr 20, 2022
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.

1 participant