-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Suboptimal code with invoke #34900
Labels
Comments
It worked in 1.1 |
I tested on 1.3.1, 1.4.0-rc1 and 1.4.0-r and got the same result for each of them. |
Works in 1.2 as well. |
KristofferC
added
performance
Must go faster
regression
Regression in behavior compared to a previous version
labels
Feb 27, 2020
Keno
added a commit
that referenced
this issue
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.
Keno
added a commit
that referenced
this issue
Feb 28, 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.
KristofferC
pushed a commit
that referenced
this issue
Mar 23, 2020
ravibitsgoa
pushed a commit
to ravibitsgoa/julia
that referenced
this issue
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 issue
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
It was my impression that if everything infers,
invoke
shouldn't carry any performance penalty, but I noticed something with this little example:that the llvm code is not a simple integer addition:
Not sure what's going on here or if it's expected, so I figured I'd open an issue.
The text was updated successfully, but these errors were encountered: