Uh oh!
There was an error while loading. Please reload this page.
Separate const prop lints from optimizations - #94934
Conversation
oli-obk
left a comment
There was a problem hiding this comment.
If you write fixes #70073 merging this PR will automatically close that issue
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
oli-obk
commented
Mar 14, 2022
@bors try @rust-timer queue |
rust-timer
commented
Mar 14, 2022
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
bors
commented
Mar 14, 2022
⌛ Trying commit 449f1e18d211f9c0018d6f79cf1c02bb8110e776 with merge 11e53ca50fce06dbb1fa00ab5a78ee351b427888... |
tmiasko
commented
Mar 14, 2022
rust/compiler/rustc_interface/src/passes.rs Lines 976 to 979 in bce19cf |
tmiasko
commented
Mar 14, 2022
@rust-timer build 11e53ca50fce06dbb1fa00ab5a78ee351b427888 |
rust-timer
commented
Mar 14, 2022
Queued 11e53ca50fce06dbb1fa00ab5a78ee351b427888 with parent 0ac4658, future comparison URL. |
We could also try moving the lint even earlier. mir-interpret should be able to handle it with some minor tweaks to change panics into more benign failures Edit: will address this in follow up PRs |
rust-timer
commented
Mar 14, 2022
Finished benchmarking commit (11e53ca50fce06dbb1fa00ab5a78ee351b427888): comparison url. Summary: This benchmark run shows 56 relevant regressions 😿 to instruction counts.
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 |
oli-obk
commented
Mar 15, 2022
We're doing const prop twice now, so it's fairly obvious where the regression is coming from. This is expected, since the current PR is the first step to fix the bug that optimizations can change diagnostics. |
oli-obk
commented
Mar 15, 2022
@bors r+ rollup=never |
bors
commented
Mar 15, 2022
📌 Commit da1a68326927f815a72347368352e2fa01c48e30 has been approved by |
bors
commented
Mar 15, 2022
⌛ Testing commit da1a68326927f815a72347368352e2fa01c48e30 with merge 4976c2337559584555ca2e9567413e85218a0ad3... |
This comment has been minimized.
This comment has been minimized.
bors
commented
Mar 15, 2022
💔 Test failed - checks-actions |
bors
commented
Mar 18, 2022
☔ The latest upstream changes (presumably #95056) made this pull request unmergeable. Please resolve the merge conflicts. |
Co-authored-by: Oli Scherer <github35764891676564198441@oli-obk.de>
oli-obk
commented
Mar 24, 2022
@bors r+ |
bors
commented
Mar 24, 2022
💡 This pull request was already approved, no need to approve it again.
|
bors
commented
Mar 24, 2022
📌 Commit 440946a has been approved by |
bors
commented
Mar 24, 2022
⌛ Testing commit 440946a with merge 903707951703c815ca0bf6432bdce20e0873acda... |
rust-log-analyzer
commented
Mar 24, 2022
bors
commented
Mar 24, 2022
💔 Test failed - checks-actions |
oli-obk
commented
Mar 24, 2022
@bors retry failure near submodule checkouts |
bors
commented
Mar 24, 2022
bors
commented
Mar 24, 2022
☀️ Test successful - checks-actions |
rust-timer
commented
Mar 25, 2022
Finished benchmarking commit (63b8f01): comparison url. Summary: This benchmark run shows 40 relevant regressions 😿 to instruction counts.
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Next Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression |
oli-obk
commented
Mar 25, 2022
We're doing const prop twice now, so it's fairly obvious where the regression is coming from. This is expected, since the current PR is the first step to fix the bug that optimizations can change diagnostics. @rustbot label: +perf-regression-triaged |
r? @oli-obk
Separates lints and optimizations during const prop by moving the lints into their own file and checking them during post borrowck cleanup.
Thanks to @oli-obk for mentoring me.