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 regression in inlining of invoke #34906

Merged
merged 1 commit into from
Feb 28, 2020
Merged

Fix regression in inlining of invoke #34906

merged 1 commit into from
Feb 28, 2020

Conversation

Keno
Copy link
Member

@Keno Keno commented Feb 27, 2020

When we added the check to prevent inlining through ambiguous methods,
we failed exclude this check for calls to invoke (which skip ambiguous
methods, since the method is explicitly selected). Fixes #34900.

When we added the check to prevent inlining through ambiguous methods,
we failed exclude this check for calls to `invoke` (which skip ambiguous
methods, since the method is explicitly selected). Fixes #34900.
@Keno Keno added backport 1.4 compiler:optimizer Optimization passes (mostly in base/compiler/ssair/) labels Feb 27, 2020
@Keno Keno merged commit 6abc852 into master Feb 28, 2020
@Keno Keno deleted the kf/34900 branch February 28, 2020 03:34
KristofferC pushed a commit that referenced this pull request Mar 23, 2020
When we added the check to prevent inlining through ambiguous methods,
we failed exclude this check for calls to `invoke` (which skip ambiguous
methods, since the method is explicitly selected). Fixes #34900.

(cherry picked from commit 6abc852)
@KristofferC KristofferC mentioned this pull request Mar 23, 2020
27 tasks
ravibitsgoa pushed a commit to ravibitsgoa/julia that referenced this pull request Apr 9, 2020
When we added the check to prevent inlining through ambiguous methods,
we failed exclude this check for calls to `invoke` (which skip ambiguous
methods, since the method is explicitly selected). Fixes JuliaLang#34900.
KristofferC pushed a commit that referenced this pull request Apr 11, 2020
When we added the check to prevent inlining through ambiguous methods,
we failed exclude this check for calls to `invoke` (which skip ambiguous
methods, since the method is explicitly selected). Fixes #34900.
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/)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Suboptimal code with invoke
2 participants