-
Notifications
You must be signed in to change notification settings - Fork 13.9k
Deduce captures(none) for a return place and parameters #147890
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
base: master
Are you sure you want to change the base?
Conversation
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
deduced_param_attrs: deduce captures(none)
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
e902eab
to
5d4db8a
Compare
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
deduced_param_attrs: deduce captures(none)
☔ The latest upstream changes (presumably #147884) made this pull request unmergeable. Please resolve the merge conflicts. |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (470704e): comparison URL. Overall result: ❌✅ regressions and improvements - please read the text belowBenchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf. Next Steps: If you can justify the regressions found in this try perf run, please do so in sufficient writing along with @bors rollup=never Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)This benchmark run did not return any relevant results for this metric. CyclesResults (primary 2.8%, secondary 3.4%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary 0.0%, secondary -0.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 472.659s -> 472.043s (-0.13%) |
eab5de9
to
5f7a3eb
Compare
Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt |
r? compiler |
// We're only interested in arguments. | ||
&& let Some(param_index) = self.as_param(place.local) | ||
&& !place.is_indirect_first_projection() | ||
&& let Some(i) = self.as_param(place.local) |
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.
Should we also check whether that argument's type may be passed indirectly? In case of projections in particular.
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.
I would leave further improvements for a separate pull request (although, it looks like we have an extra temporary in such a case regardless).
5f7a3eb
to
5ba1095
Compare
No description provided.