Uh oh!
There was an error while loading. Please reload this page.
remove or encapsulate the remaining non-query data in tcx - #44501
Conversation
eddyb
commented
Sep 11, 2017
r=me modulo the forbid_reads hack. Also, cc @arielb1 |
michaelwoerister
commented
Sep 11, 2017
|
eddyb
commented
Sep 11, 2017
@michaelwoerister I meant |
bors
commented
Sep 11, 2017
☔ The latest upstream changes (presumably #44442) made this pull request unmergeable. Please resolve the merge conflicts. |
Mark-Simulacrum
commented
Sep 11, 2017
Before we merge, let's get some perf numbers - run a try build when ready. |
nikomatsakis
commented
Sep 11, 2017
@eddyb I think that example could indeed be a query -- I was considering actually extending the maps macro to support such queries (i.e., queries that are not permitting to read during their code, and hence don't require a task) or just making it be a query. I could go either way. |
c58e725 to
fb2e369CompareThere was a problem hiding this comment.
Missing license.
[00:02:50] tidy error: /checkout/src/librustc/ty/erase_regions.rs: incorrect license
arielb1
commented
Sep 12, 2017
LGTM |
nikomatsakis
commented
Sep 12, 2017
@bors r=eddyb |
bors
commented
Sep 12, 2017
📌 Commit 49a2c08 has been approved by |
bors
commented
Sep 13, 2017
☔ The latest upstream changes (presumably #44420) made this pull request unmergeable. Please resolve the merge conflicts. |
49a2c08 to
b952f47Comparealexcrichton
commented
Sep 15, 2017
@bors r=eddyb |
bors
commented
Sep 15, 2017
📌 Commit b952f47 has been approved by |
bors
commented
Sep 17, 2017
⌛ Testing commit b952f477c63226e1059c1c4868db962ed10d93d9 with merge 3e4fe6c4557ff9caadba4f43ba263716483cce26... |
bors
commented
Sep 17, 2017
💔 Test failed - status-travis |
kennytm
commented
Sep 18, 2017
Could not compile stage1-std in |
alexcrichton
commented
Sep 18, 2017
@bors: r- reappeared in the travis queue |
bors
commented
Sep 18, 2017
☔ The latest upstream changes (presumably #44678) made this pull request unmergeable. Please resolve the merge conflicts. |
b952f47 to
10069e5Comparenikomatsakis
commented
Sep 19, 2017
@bors r=eddyb |
bors
commented
Sep 19, 2017
📌 Commit 10069e5 has been approved by |
94449a5 to
dd3a4f4Comparenikomatsakis
commented
Oct 16, 2017
cc @Manishearth@llogiq@mcarton@oli-obk -- apparently I've broken clippy. Looks like primarily this is a matter of now needing to supply the (Are there some directions for the steps to prepare a PR to clippy to fix this stuff?) |
oli-obk
commented
Oct 17, 2017
Directions can be found at https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#external-dependencies Generally, you can just fix clippy by compiling it via Remember to set If you consider the PR to clippy to be too involved (e.g. because we used an API so wrongly it'll take a lot of effort to fix our usage), we'll fix it ourselvels. |
nikomatsakis
commented
Oct 17, 2017
Actually, looking again, I'm not sure. I thought that I had seen -- or maybe just imagined -- some path in Regardless, as @eddyb pointed out earlier, a regular query is simpler, so that may have been a bit of premature perf. optimization on my part. I think my ideal preference would be to keep it as a query, but add an option to declare a "non-read" query that skips dependency tracking (using something like |
eddyb
commented
Oct 17, 2017
@bors r+ |
bors
commented
Oct 17, 2017
📌 Commit 7715f97 has been approved by |
a673c3b to
7715f97Comparebors
commented
Oct 17, 2017
⌛ Testing commit 7715f97 with merge 76e77ec828027f688faaa615fabad5d641223a76... |
bors
commented
Oct 18, 2017
💔 Test failed - status-travis |
kennytm
commented
Oct 18, 2017
@bors retry macOS... spuriously canceled after 6 hours 😂 |
bors
commented
Oct 18, 2017
…, r=eddyb remove or encapsulate the remaining non-query data in tcx I wound up removing the existing cache around inhabitedness since it didn't seem to be adding much value. I reworked const rvalue promotion, but not that much (i.e., I did not split the computation into bits, as @eddyb had tossed out as a suggestion). But it's now demand driven, at least. cc @michaelwoerister -- see the `forbid_reads` change in last commit r? @eddyb -- since the trickiest of this PR is the work on const rvalue promotion cc #44137
bors
commented
Oct 18, 2017
☀️ Test successful - status-appveyor, status-travis |
oli-obk
commented
Oct 20, 2017
Would it make sense to simplify the map returned by |
Use a `Set<T>` instead of a `Map<T, bool>` r? @nikomatsakis introduced in #44501
I wound up removing the existing cache around inhabitedness since it didn't seem to be adding much value. I reworked const rvalue promotion, but not that much (i.e., I did not split the computation into bits, as @eddyb had tossed out as a suggestion). But it's now demand driven, at least.
cc @michaelwoerister -- see the
forbid_readschange in last commitr? @eddyb -- since the trickiest of this PR is the work on const rvalue promotion
cc #44137