Skip to content
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

Remove box syntax from rustc_mir_dataflow and rustc_mir_transform #97281

Merged
merged 1 commit into from May 22, 2022

Conversation

est31
Copy link
Member

@est31 est31 commented May 22, 2022

Continuation of #87781, inspired by #97239. The usages that this PR removes have not appeared from nothing, instead the usage in rustc_mir_dataflow and rustc_mir_transform was from #80522 which split up rustc_mir, and which was filed before I filed #87781, so it was using the state from before my PR. But it was merged after my PR was merged, so the box_syntax uses were able to survive here. Outside of this introduction due to the code being outside of the master branch at the point of merging of my PR, there was only one other introduction of box syntax, in #95159. That box syntax was removed again though in #95555. Outside of that, box_syntax has not made its reoccurrance in compiler crates.

@rustbot rustbot added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label May 22, 2022
@rust-highfive
Copy link
Collaborator

r? @compiler-errors

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 22, 2022
@est31
Copy link
Member Author

est31 commented May 22, 2022

Also, maybe it would be a good idea to do a perf run, but I doubt there is going to be much of an impact. #87781 didn't have any outside of a very minor regression for rustdoc close to the noise limit, that was then reverted.

@rust-log-analyzer

This comment has been minimized.

@compiler-errors
Copy link
Member

@bors try @rust-timer queue

@rust-timer
Copy link
Collaborator

Awaiting bors try build completion.

@rustbot label: +S-waiting-on-perf

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label May 22, 2022
@bors
Copy link
Contributor

bors commented May 22, 2022

⌛ Trying commit 99603ef with merge 454eb7ecb0429d36f9d0367d02449abb1f7b38f9...

@compiler-errors
Copy link
Member

didn't realize this PR was so small, lol. Started that perf after just looking at the description.

anyways r=me if that perf run comes back clean.

@bors
Copy link
Contributor

bors commented May 22, 2022

☀️ Try build successful - checks-actions
Build commit: 454eb7ecb0429d36f9d0367d02449abb1f7b38f9 (454eb7ecb0429d36f9d0367d02449abb1f7b38f9)

@rust-timer
Copy link
Collaborator

Queued 454eb7ecb0429d36f9d0367d02449abb1f7b38f9 with parent 4bb4dc4, future comparison URL.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (454eb7ecb0429d36f9d0367d02449abb1f7b38f9): comparison url.

Instruction count

This benchmark run did not return any relevant results for this metric.

Max RSS (memory usage)

Results
  • Primary benchmarks: no relevant changes found
  • Secondary benchmarks: 🎉 relevant improvements found
Regressions 😿
(primary)
Regressions 😿
(secondary)
Improvements 🎉
(primary)
Improvements 🎉
(secondary)
All 😿 🎉
(primary)
count1 0 0 0 2 0
mean2 N/A N/A N/A -1.6% N/A
max N/A N/A N/A -2.0% N/A

Cycles

Results
  • Primary benchmarks: 🎉 relevant improvements found
  • Secondary benchmarks: no relevant changes found
Regressions 😿
(primary)
Regressions 😿
(secondary)
Improvements 🎉
(primary)
Improvements 🎉
(secondary)
All 😿 🎉
(primary)
count1 0 0 2 0 2
mean2 N/A N/A -2.1% N/A -2.1%
max N/A N/A -2.2% N/A -2.2%

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 may lead to changes in compiler perf.

@bors rollup=never
@rustbot label: +S-waiting-on-review -S-waiting-on-perf -perf-regression

Footnotes

  1. number of relevant changes 2

  2. the arithmetic mean of the percent change 2

@rustbot rustbot removed the S-waiting-on-perf Status: Waiting on a perf run to be completed. label May 22, 2022
@compiler-errors
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented May 22, 2022

📌 Commit 99603ef has been approved by compiler-errors

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 22, 2022
@bors
Copy link
Contributor

bors commented May 22, 2022

⌛ Testing commit 99603ef with merge b2eed72...

@bors
Copy link
Contributor

bors commented May 22, 2022

☀️ Test successful - checks-actions
Approved by: compiler-errors
Pushing b2eed72 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label May 22, 2022
@bors bors merged commit b2eed72 into rust-lang:master May 22, 2022
@rustbot rustbot added this to the 1.63.0 milestone May 22, 2022
@rust-timer
Copy link
Collaborator

Finished benchmarking commit (b2eed72): comparison url.

Instruction count

This benchmark run did not return any relevant results for this metric.

Max RSS (memory usage)

Results
  • Primary benchmarks: 😿 relevant regression found
  • Secondary benchmarks: mixed results
Regressions 😿
(primary)
Regressions 😿
(secondary)
Improvements 🎉
(primary)
Improvements 🎉
(secondary)
All 😿 🎉
(primary)
count1 1 3 0 1 1
mean2 3.7% 1.7% N/A -3.7% 3.7%
max 3.7% 1.9% N/A -3.7% 3.7%

Cycles

Results
  • Primary benchmarks: mixed results
  • Secondary benchmarks: no relevant changes found
Regressions 😿
(primary)
Regressions 😿
(secondary)
Improvements 🎉
(primary)
Improvements 🎉
(secondary)
All 😿 🎉
(primary)
count1 2 0 1 0 3
mean2 2.0% N/A -3.3% N/A 0.2%
max 2.6% N/A -3.3% N/A -3.3%

If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf.

@rustbot label: -perf-regression

Footnotes

  1. number of relevant changes 2

  2. the arithmetic mean of the percent change 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants