-
-
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
Make TBAA for non leaftypes more precise #21308
Conversation
if (!jl_is_datatype(jt)) | ||
return tbaa_value; | ||
if (jl_is_abstracttype(jt)) | ||
return tbaa_value; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since these conditions return the same thing, couldn't you just collapse them as
if (!jl_is_datatype(jt) || jl_is_abstracttype(jt))
return tbaa_value;
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The !is_datatype branch could theoretically be made smarter, I just didn't need it here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, okay. Does it warrant a // TODO
?
@nanosoldier |
Your benchmark job has completed - possible performance regressions were detected. A full report can be found here. cc @jrevels |
@nanosoldier |
Your benchmark job has completed - possible performance regressions were detected. A full report can be found here. cc @jrevels |
Nanosoldier results look like noise. Merging. |
|
No description provided.