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

Try to loosen cfunction optimization type check #21467

Merged
merged 1 commit into from
May 27, 2017
Merged

Conversation

yuyichao
Copy link
Contributor

Not sure if this is precise now but the old one seems to be too strict since it doesn't catch passing by ref or non-leaf argument types.

@yuyichao yuyichao requested a review from vtjnash April 21, 2017 03:25
@yuyichao yuyichao added the compiler:codegen Generation of LLVM IR and native code label Apr 21, 2017
@tkelman
Copy link
Contributor

tkelman commented Apr 21, 2017

can whatever was wrong with the previous version be tested for?

@yuyichao
Copy link
Contributor Author

Nothing was wrong. It's only a performance issue.

@yuyichao yuyichao force-pushed the yyc/codegen/cfunction branch 3 times, most recently from 74ba371 to 1db0284 Compare May 5, 2017 12:49
@yuyichao yuyichao requested review from vtjnash and removed request for vtjnash May 21, 2017 17:43
src/ccall.cpp Outdated
fargt = jl_tparam0(fargt);
if (jl_has_free_typevars(fargt)) {
Copy link
Member

Choose a reason for hiding this comment

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

|| !jl_is_tuple_type(fargt)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@yuyichao
Copy link
Contributor Author

Any other comments?

@tkelman
Copy link
Contributor

tkelman commented May 25, 2017

worth running nanosoldier?

@yuyichao
Copy link
Contributor Author

Kind of doubt it has anything that uses cfunction but sure....

@nanosoldier runbenchmarks(ALL, vs=":master")

@nanosoldier
Copy link
Collaborator

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

@yuyichao yuyichao merged commit 3e3f966 into master May 27, 2017
@yuyichao yuyichao deleted the yyc/codegen/cfunction branch May 27, 2017 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:codegen Generation of LLVM IR and native code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants