Skip to content
This repository has been archived by the owner on Feb 5, 2019. It is now read-only.

Disable the PassInfo cache assertions to make the cache effective in builds with assertions enabld #34

Merged
merged 1 commit into from
Feb 12, 2015

Conversation

dotdash
Copy link

@dotdash dotdash commented Feb 12, 2015

Since the PassInfo cache does a regular, uncached, slow lookup for the
asserted condition, it's not very effective cough when assertions are
enabled. Since disabling these assertions gives quite a nice perf boost
and it's not really worse than the patch we had previously, let's just
do that.

…builds with assertions enabld

Since the PassInfo cache does a regular, uncached, slow lookup for the
asserted condition, it's not very effective *cough* when assertions are
enabled. Since disabling these assertions gives quite a nice perf boost
and it's not really worse than the patch we had previously, let's just
do that.
@rust-highfive
Copy link

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @brson (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. The way Github handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see CONTRIBUTING.md for more information.

alexcrichton added a commit that referenced this pull request Feb 12, 2015
Disable the PassInfo cache assertions to make the cache effective in builds with assertions enabld
@alexcrichton alexcrichton merged commit 458d7e4 into rust-lang:rust-llvm-2015-02-09 Feb 12, 2015
@TimNN TimNN mentioned this pull request Apr 17, 2017
5 tasks
TimNN pushed a commit to TimNN/llvm that referenced this pull request Apr 17, 2017
…che effective in builds with assertions enabld

Since the PassInfo cache does a regular, uncached, slow lookup for the
asserted condition, it's not very effective *cough* when assertions are
enabled. Since disabling these assertions gives quite a nice perf boost
and it's not really worse than the patch we had previously, let's just
do that.
TimNN pushed a commit that referenced this pull request Apr 17, 2017
…tive in builds with assertions enabld

Since the PassInfo cache does a regular, uncached, slow lookup for the
asserted condition, it's not very effective *cough* when assertions are
enabled. Since disabling these assertions gives quite a nice perf boost
and it's not really worse than the patch we had previously, let's just
do that.
TimNN pushed a commit that referenced this pull request Apr 23, 2017
…tive in builds with assertions enabld

Since the PassInfo cache does a regular, uncached, slow lookup for the
asserted condition, it's not very effective *cough* when assertions are
enabled. Since disabling these assertions gives quite a nice perf boost
and it's not really worse than the patch we had previously, let's just
do that.
arielb1 pushed a commit that referenced this pull request Jun 27, 2017
…tive in builds with assertions enabld

Since the PassInfo cache does a regular, uncached, slow lookup for the
asserted condition, it's not very effective *cough* when assertions are
enabled. Since disabling these assertions gives quite a nice perf boost
and it's not really worse than the patch we had previously, let's just
do that.
TimNN pushed a commit that referenced this pull request Jul 20, 2017
…tive in builds with assertions enabld

Since the PassInfo cache does a regular, uncached, slow lookup for the
asserted condition, it's not very effective *cough* when assertions are
enabled. Since disabling these assertions gives quite a nice perf boost
and it's not really worse than the patch we had previously, let's just
do that.
TimNN pushed a commit that referenced this pull request Jul 20, 2017
…tive in builds with assertions enabld

Since the PassInfo cache does a regular, uncached, slow lookup for the
asserted condition, it's not very effective *cough* when assertions are
enabled. Since disabling these assertions gives quite a nice perf boost
and it's not really worse than the patch we had previously, let's just
do that.
alexcrichton pushed a commit that referenced this pull request Jul 30, 2017
…tive in builds with assertions enabld

Since the PassInfo cache does a regular, uncached, slow lookup for the
asserted condition, it's not very effective *cough* when assertions are
enabled. Since disabling these assertions gives quite a nice perf boost
and it's not really worse than the patch we had previously, let's just
do that.
alexcrichton pushed a commit that referenced this pull request Aug 4, 2017
…tive in builds with assertions enabld

Since the PassInfo cache does a regular, uncached, slow lookup for the
asserted condition, it's not very effective *cough* when assertions are
enabled. Since disabling these assertions gives quite a nice perf boost
and it's not really worse than the patch we had previously, let's just
do that.
alexcrichton pushed a commit that referenced this pull request Aug 15, 2017
…tive in builds with assertions enabld

Since the PassInfo cache does a regular, uncached, slow lookup for the
asserted condition, it's not very effective *cough* when assertions are
enabled. Since disabling these assertions gives quite a nice perf boost
and it's not really worse than the patch we had previously, let's just
do that.
alexcrichton pushed a commit that referenced this pull request Oct 10, 2017
…tive in builds with assertions enabld

Since the PassInfo cache does a regular, uncached, slow lookup for the
asserted condition, it's not very effective *cough* when assertions are
enabled. Since disabling these assertions gives quite a nice perf boost
and it's not really worse than the patch we had previously, let's just
do that.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants