Uh oh!
There was an error while loading. Please reload this page.
Move encode_metadata out of CrateStore. - #89183
Conversation
rust-highfive
commented
Sep 22, 2021
Some changes occured to rustc_codegen_cranelift cc @bjorn3 |
rust-highfive
commented
Sep 22, 2021
r? @oli-obk (rust-highfive has picked a reviewer for you, use r? to override) |
bjorn3
commented
Sep 22, 2021
Can you move EncodedMetadata to rustc_metadata? |
Uh oh!
There was an error while loading. Please reload this page.
Mark-Simulacrum
commented
Sep 22, 2021
@bors try @rust-timer queue Calls through a trait object might be saving us some codegen time and such (if things are not getting inlined, etc.). Seems unlikely, but worth checking, I think. |
rust-timer
commented
Sep 22, 2021
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
bors
commented
Sep 22, 2021
⌛ Trying commit 53cd5168934f0567537415e54fe9d36aa86089bd with merge bb92ee19d26561c6b263a4c79e77c0b2dc084980... |
bors
commented
Sep 23, 2021
☀️ Try build successful - checks-actions |
rust-timer
commented
Sep 23, 2021
Queued bb92ee19d26561c6b263a4c79e77c0b2dc084980 with parent 308dffd, future comparison URL. |
rust-timer
commented
Sep 23, 2021
Finished benchmarking commit (bb92ee19d26561c6b263a4c79e77c0b2dc084980): comparison url. Summary: This change led to small relevant regressions 😿 in compiler performance.
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR led to changes in compiler perf. Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @bors rollup=never |
This comment has been minimized.
This comment has been minimized.
bors
commented
Sep 27, 2021
☔ The latest upstream changes (presumably #89092) made this pull request unmergeable. Please resolve the merge conflicts. |
oli-obk
commented
Sep 28, 2021
the change lgtm, but considering it's just a redesign, but regresses perf, should we really do this? Do you need this for some other PRs? |
cjgillot
commented
Sep 28, 2021
@bors try @rust-timer queue |
rust-timer
commented
Sep 28, 2021
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
bors
commented
Sep 28, 2021
⌛ Trying commit c013cd38c94f26e9fd03b73db411530d87ad2dff with merge afea9a948dbff21b30109ada462b7bda076ac676... |
bors
commented
Sep 28, 2021
☀️ Try build successful - checks-actions |
rust-timer
commented
Sep 28, 2021
Queued afea9a948dbff21b30109ada462b7bda076ac676 with parent 8f8092c, future comparison URL. |
rust-timer
commented
Sep 29, 2021
Finished benchmarking commit (afea9a948dbff21b30109ada462b7bda076ac676): comparison url. Summary: This benchmark run did not return any relevant changes. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR led to changes in compiler perf. @bors rollup=never |
Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
oli-obk
commented
Sep 30, 2021
@bors r+ |
bors
commented
Sep 30, 2021
📌 Commit 2d51b78 has been approved by |
bors
commented
Oct 1, 2021
bors
commented
Oct 1, 2021
☀️ Test successful - checks-actions |
rust-timer
commented
Oct 1, 2021
Finished benchmarking commit (1c0ed0d): comparison url. Summary: This benchmark run did not return any relevant changes. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression |
Move ICH to rustc_query_system Based on rust-lang#89183 The StableHashingContext does not need to be in rustc_middle. This PR moves it to rustc_query_system. This will avoid a dependency between rustc_ast_lowering and rustc_middle in rust-lang#89124.
Move ICH to rustc_query_system Based on rust-lang/rust#89183 The StableHashingContext does not need to be in rustc_middle. This PR moves it to rustc_query_system. This will avoid a dependency between rustc_ast_lowering and rustc_middle in rust-lang/rust#89124.
Move ICH to rustc_query_system Based on rust-lang/rust#89183 The StableHashingContext does not need to be in rustc_middle. This PR moves it to rustc_query_system. This will avoid a dependency between rustc_ast_lowering and rustc_middle in rust-lang/rust#89124.
rustc_metadatais already accessible by all client crates. It does not need to be called trough a trait object.