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

Make TBAA for non leaftypes more precise #21308

Merged
merged 1 commit into from
Apr 17, 2017
Merged

Make TBAA for non leaftypes more precise #21308

merged 1 commit into from
Apr 17, 2017

Conversation

Keno
Copy link
Member

@Keno Keno commented Apr 6, 2017

No description provided.

@ararslan ararslan added the compiler:codegen Generation of LLVM IR and native code label Apr 6, 2017
@ararslan ararslan requested a review from yuyichao April 6, 2017 23:51
if (!jl_is_datatype(jt))
return tbaa_value;
if (jl_is_abstracttype(jt))
return tbaa_value;
Copy link
Member

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;

?

Copy link
Member Author

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.

Copy link
Member

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?

@Keno
Copy link
Member Author

Keno commented Apr 7, 2017

@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

@Keno
Copy link
Member Author

Keno commented Apr 7, 2017

@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

@Keno
Copy link
Member Author

Keno commented Apr 17, 2017

Nanosoldier results look like noise. Merging.

@Keno Keno merged commit 37d84dd into master Apr 17, 2017
@vtjnash vtjnash deleted the kf/moreprecisetbaa branch April 17, 2017 23:03
@tkelman
Copy link
Contributor

tkelman commented Apr 18, 2017

Either this or #21135 broke the power build https://build.julialang.org/builders/package_tarballppc64le/builds/133 was #21135

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.

6 participants