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

Rc: Add assumptions that the pointer is non-null #21894

Merged
merged 1 commit into from
Feb 5, 2015

Conversation

dotdash
Copy link
Contributor

@dotdash dotdash commented Feb 3, 2015

This is half of what @Aatch implemented in #21418. The non-null assumption is later canonicalized to !nonnull metadata and doesn't cause any slowdowns (in fact the build is slightly faster with this change). I left out the other half of #21418 because that still causes a ~16% increase in compile times (30m -> 35m).

Since the snapshot compiler is still using an older LLVM version, omit
the call in stage0, because compile times explode otherwise.
@rust-highfive
Copy link
Collaborator

r? @brson

(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton
Copy link
Member

@bors: r+ 40b6e34 rollup

@alexcrichton alexcrichton assigned alexcrichton and unassigned brson Feb 3, 2015
@alexcrichton
Copy link
Member

@bors: rollup-

@bors
Copy link
Contributor

bors commented Feb 4, 2015

⌛ Testing commit 40b6e34 with merge 7643521...

@bors
Copy link
Contributor

bors commented Feb 5, 2015

💔 Test failed - auto-linux-32-opt

@dotdash
Copy link
Contributor Author

dotdash commented Feb 5, 2015

I can't reproduce this error, any hints?

@alexcrichton
Copy link
Member

Let's see if retrying with bors gives a hint!

@bors: retry

bors added a commit that referenced this pull request Feb 5, 2015
This is half of what @Aatch implemented in #21418. The non-null assumption is later canonicalized to !nonnull metadata and doesn't cause any slowdowns (in fact the build is slightly faster with this change). I left out the other half of #21418 because that still causes a ~16% increase in compile times (30m -> 35m).
@bors
Copy link
Contributor

bors commented Feb 5, 2015

⌛ Testing commit 40b6e34 with merge 99f6206...

@bors bors merged commit 40b6e34 into rust-lang:master Feb 5, 2015
@dotdash dotdash deleted the assume_rc branch March 1, 2015 19:21
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.

6 participants