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

compute inline_worthy after inference and cache it #16186

Merged
merged 1 commit into from
May 5, 2016
Merged

Conversation

JeffBezanson
Copy link
Sponsor Member

This is the first part of #15970.

@@ -2412,48 +2399,54 @@ function inlineable(f::ANY, ft::ANY, e::Expr, atypes::Vector{Any}, sv::Inference
end

na = linfo.nargs
if na != length(argexprs)
Copy link
Sponsor Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

&& !linfo.isva?

this avoids repeating the computation for the same piece of code,
and allows rejecting inlining before calling jl_uncompress_ast
in more cases.
@JeffBezanson
Copy link
Sponsor Member Author

runbenchmarks(ALL, vs = "JuliaLang/julia:master")

@nanosoldier
Copy link
Collaborator

Your benchmark job has completed - possible performance regressions were detected. A full report can be found here. cc @jrevels

@vtjnash vtjnash merged commit 5533118 into master May 5, 2016
@vtjnash vtjnash deleted the jb/inlineable2 branch May 5, 2016 04:27
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

3 participants