Skip to content

incr.comp.: Take names of children into account when computing the ICH of a module's HIR. - #51982

Merged
bors merged 2 commits into
rust-lang:masterfrom
michaelwoerister:hash-modules-properly
Jul 3, 2018
Merged

incr.comp.: Take names of children into account when computing the ICH of a module's HIR.#51982
bors merged 2 commits into
rust-lang:masterfrom
michaelwoerister:hash-modules-properly

Conversation

@michaelwoerister

Copy link
Copy Markdown
Member

Fixes#40876. Red-green tracking does not make this a problem anymore. We should verify this via a perf-run though.

r? @nikomatsakis

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 2, 2018
@Mark-Simulacrum

Copy link
Copy Markdown
Member

@bors retry

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 2, 2018
@Mark-Simulacrum

Copy link
Copy Markdown
Member

er, @bors try

@Mark-SimulacrumMark-Simulacrum added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jul 2, 2018
@bors

bors commented Jul 2, 2018

Copy link
Copy Markdown
Collaborator

⌛ Trying commit 79d8d08 with merge 71ab10d...

bors added a commit that referenced this pull request Jul 2, 2018
incr.comp.: Take names of children into account when computing the ICH of a module's HIR.
Fixes#40876. Red-green tracking does not make this a problem anymore. We should verify this via a perf-run though.
r? @nikomatsakis
@bors

bors commented Jul 2, 2018

Copy link
Copy Markdown
Collaborator

☀️ Test successful - status-travis
State: approved= try=True

@nikomatsakis

Copy link
Copy Markdown
Contributor

r=me modulo perf

@Mark-Simulacrum

Copy link
Copy Markdown
Member

Perf started

@michaelwoerister

Copy link
Copy Markdown
MemberAuthor

@michaelwoerister

Copy link
Copy Markdown
MemberAuthor

Interesting. That fix in MonoItemExt::predefine_fn() was just meant to make the krate-inherent test case pass again but it really seems to have helped tokio-webpush-simple (-65.2% for println-opt). Not bad.

I'll apply another small optimization to the hashing of the DefPathHashes and then r=niko.

@michaelwoerister

Copy link
Copy Markdown
MemberAuthor

@bors r=nikomatsakis

@bors

bors commented Jul 3, 2018

Copy link
Copy Markdown
Collaborator

📌 Commit 447f1f3 has been approved by nikomatsakis

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 3, 2018
emilyalbini added a commit to emilyalbini/rust that referenced this pull request Jul 3, 2018
…rly, r=nikomatsakis
incr.comp.: Take names of children into account when computing the ICH of a module's HIR.
Fixesrust-lang#40876. Red-green tracking does not make this a problem anymore. We should verify this via a perf-run though.
r? @nikomatsakis
emilyalbini added a commit to emilyalbini/rust that referenced this pull request Jul 3, 2018
…rly, r=nikomatsakis
incr.comp.: Take names of children into account when computing the ICH of a module's HIR.
Fixesrust-lang#40876. Red-green tracking does not make this a problem anymore. We should verify this via a perf-run though.
r? @nikomatsakis
bors added a commit that referenced this pull request Jul 3, 2018
Rollup of 13 pull requests
Successful merges:
- #51548 (Initialize LLVM's AMDGPU target machine, if available.)
- #51809 (Add read_exact_at and write_all_at methods to FileExt on unix)
- #51914 (add outlives annotations to `BTreeMap`)
- #51958 (Show known meta items in unknown meta items error)
- #51973 (Make Stdio handle UnwindSafe)
- #51977 (bootstrap: tests should use rustc from config.toml)
- #51978 (Do not suggest changes to str literal if it isn't one)
- #51979 (Get rid of `TyImplTraitExistential`)
- #51980 (Emit column info in debuginfo for non msvc like targets)
- #51982 (incr.comp.: Take names of children into account when computing the ICH of a module's HIR.)
- #51997 (add entry for cargo-metadata feature to RELEASES)
- #52004 (toolstate: Fixed detection of changed submodule, and other fixes.)
- #52006 ( Change --keep-stage to apply more often)
Failed merges:
r? @ghost
@bors
bors merged commit 447f1f3 into rust-lang:masterJul 3, 2018
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@michaelwoerister@Mark-Simulacrum@bors@nikomatsakis@rust-highfive