-
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
Rebase and fixup #80493: Remove MIR assignments to ZST types #83118
Conversation
This comment has been minimized.
This comment has been minimized.
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 0f9af60 with merge 9bc206fe890926c6eeb208fec47dc5bc8e1dfe78... |
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 1b7b33e with merge 7f64e46687647913b6bfebdd755372360087954c... |
Hmm, does pushing mess up the try build? I thought it would be fine as long as I didn't force-push |
☀️ Try build successful - checks-actions |
Queued 7f64e46687647913b6bfebdd755372360087954c with parent 9320b12, future comparison URL. |
Finished benchmarking try commit (7f64e46687647913b6bfebdd755372360087954c): comparison url. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. Please note that if the perf results are neutral, you should likely undo the rollup=never given below by specifying Importantly, though, if the results of this run are non-neutral do not roll this PR up -- it will mask other regressions or improvements in the roll up. @bors rollup=never |
`_local` isn't visited in `_local = <rhs>` statements in the situation we care about
@bors r+ Thanks for reviving that PR! |
📌 Commit 47f8bac has been approved by |
☀️ Test successful - checks-actions |
That landed fast. I will just note that it might be interesting to explore removal of individual ZST assignments still, rather than locals, since this miss the opportunities that exists around code that is using |
That's what #80493 originally did before #80493 (comment): see https://github.com/rust-lang/rust/compare/22f94499cc9c397420c4cf8ba0bbcabf4018bae7 I'll open a PR. |
Remove assignments to ZST places instead of marking ZST return place as unused partially reverts rust-lang#83118 requested by `@tmiasko` in rust-lang#83118 (comment) r? `@oli-obk`
closes #80493
cc @simonvandel
r? @oli-obk