-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Only visit reachable blocks in ConstProp lint. #109792
Conversation
(rustbot has picked a reviewer for you, use r? to override) |
Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt |
Does this also fix #78803? |
Yes, added a test. |
☔ The latest upstream changes (presumably #109819) made this pull request unmergeable. Please resolve the merge conflicts. |
Just in case: |
This comment has been minimized.
This comment has been minimized.
⌛ Trying commit 2de1e0d360eaffa73ff7e4aa91c2582807771d38 with merge 0e11821993d7df722968873d7817efa9ad6a1f1d... |
☀️ Try build successful - checks-actions |
1 similar comment
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (0e11821993d7df722968873d7817efa9ad6a1f1d): comparison URL. Overall result: ✅ improvements - no action neededBenchmarking 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 may lead to changes in compiler perf. @bors rollup=never Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
|
r=me after a rebase |
@bors r=oli-obk |
☀️ Test successful - checks-actions |
Finished benchmarking commit (f211da7): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. |
Going to nominate for a backport because one issue fixed is a @rustbot label +beta-nominated |
this was not fixing a beta regression (my bad for misunderstanding the context) @rustbot label -beta-accepted -beta-nominated |
Fixes #78803
Fixes #109731