-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Separate const prop lints from optimizations #94934
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you write fixes #70073
merging this PR will automatically close that issue
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 449f1e18d211f9c0018d6f79cf1c02bb8110e776 with merge 11e53ca50fce06dbb1fa00ab5a78ee351b427888... |
rust/compiler/rustc_interface/src/passes.rs Lines 976 to 979 in bce19cf
|
@rust-timer build 11e53ca50fce06dbb1fa00ab5a78ee351b427888 |
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 |
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 |
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. |
@bors r+ rollup=never |
📌 Commit da1a68326927f815a72347368352e2fa01c48e30 has been approved by |
⌛ Testing commit da1a68326927f815a72347368352e2fa01c48e30 with merge 4976c2337559584555ca2e9567413e85218a0ad3... |
This comment has been minimized.
This comment has been minimized.
💔 Test failed - checks-actions |
☔ The latest upstream changes (presumably #95056) made this pull request unmergeable. Please resolve the merge conflicts. |
@bors r+ |
7316ecb
to
440946a
Compare
💡 This pull request was already approved, no need to approve it again.
|
📌 Commit 440946a has been approved by |
⌛ Testing commit 440946a with merge 903707951703c815ca0bf6432bdce20e0873acda... |
💔 Test failed - checks-actions |
@bors retry failure near submodule checkouts |
☀️ Test successful - checks-actions |
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 |
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.