Enable MIR inlinig for #[inline(always)] when mir-opt-level=1#105278
Enable MIR inlinig for #[inline(always)] when mir-opt-level=1#105278eduardosm wants to merge 1 commit intorust-lang:masterfrom eduardosm:mir-opt-1-inline-always
#[inline(always)] when mir-opt-level=1#105278Conversation
|
r? @davidtwco (rustbot has picked a reviewer for you, use r? to override) |
|
Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt |
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
|
⌛ Trying commit 8ea2dd0 with merge f96b506b3944049aa409b78d6fbfc86db517fd76... |
|
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (f96b506b3944049aa409b78d6fbfc86db517fd76): comparison URL. Overall result: ❌✅ regressions and improvements - 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. Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @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? @oli-obk |
| } | ||
| _ => true, | ||
| } | ||
| sess.mir_opt_level() > 0 |
There was a problem hiding this comment.
We need to keep the incremental opt-out that existed for opt-level=2. So I think all that should be done here is to move the | 1 to the second match arm.
|
@rustbot author |
|
Closing in favor of #110560 |
#81567