Skip to content

inference: relax backedge optimization condition#45030

Merged
aviatesk merged 1 commit intomasterfrom
avi/follow45017
Apr 20, 2022
Merged

inference: relax backedge optimization condition#45030
aviatesk merged 1 commit intomasterfrom
avi/follow45017

Conversation

@aviatesk
Copy link
Copy Markdown
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