Skip to content

move MIR syntax into a dedicated file and ping some people whenever it changes - #98649

Merged
bors merged 3 commits into
rust-lang:masterfrom
RalfJung:guardians-of-mir
Jun 30, 2022
Merged

move MIR syntax into a dedicated file and ping some people whenever it changes#98649
bors merged 3 commits into
rust-lang:masterfrom
RalfJung:guardians-of-mir

Conversation

@RalfJung

Copy link
Copy Markdown
Member

Adding or changing MIR operations/statements/whatever should be under significant scrutiny wrt their wider impact, specified semantics, and so on. So let's start by putting all that into a dedicated file and pinging some people whenever that file changes.

This PR only moves definitions around, and then fiddles with imports until it all works again.

@rustbotrustbot added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Jun 29, 2022
@rust-highfive

Copy link
Copy Markdown
Contributor

r? @wesleywiser

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

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 29, 2022
@RalfJung
RalfJungforce-pushed the guardians-of-mir branch 2 times, most recently from 95f41bd to 418dfe2CompareJune 29, 2022 01:48
@RalfJung

Copy link
Copy Markdown
MemberAuthor

Cc @lcnr @rust-lang/wg-mir-opt let me know if I should add more people (or teams) to the mention list here.

Comment threadtriagebot.toml Outdated
@oli-obk

Copy link
Copy Markdown
Contributor

@bors r+ p=1

let's move this along before it bitrots

@bors

bors commented Jun 29, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit ef34e57a74ec16d60ba9ccb958dfafaed57a1785 has been approved by oli-obk

@borsbors 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 Jun 29, 2022
@bors

bors commented Jun 29, 2022

Copy link
Copy Markdown
Collaborator

⌛ Testing commit ef34e57a74ec16d60ba9ccb958dfafaed57a1785 with merge f6b29fbf3c31d9c42872943e76037572f3cfb823...

@bors

bors commented Jun 29, 2022

Copy link
Copy Markdown
Collaborator

💔 Test failed - checks-actions

@borsbors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jun 29, 2022
@rust-log-analyzer

This comment has been minimized.

@RalfJung

Copy link
Copy Markdown
MemberAuthor

Argh, sorry for that...

RalfJungand others added 2 commits June 29, 2022 16:03
Co-authored-by: David Wood <agile.lion3441@fuligin.ink>
@RalfJung

Copy link
Copy Markdown
MemberAuthor

@bors r=oli-obk

@bors

bors commented Jun 29, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit a58d8f6 has been approved by oli-obk

@borsbors 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 Jun 29, 2022
@bors

bors commented Jun 29, 2022

Copy link
Copy Markdown
Collaborator

⌛ Testing commit a58d8f6 with merge 9789394f4f43d9bd711558bb04ecb084753e745c...

@bors

bors commented Jun 29, 2022

Copy link
Copy Markdown
Collaborator

💔 Test failed - checks-actions

@borsbors removed the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Jun 29, 2022
@borsbors added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 29, 2022
@rust-log-analyzer

This comment has been minimized.

@RalfJung

Copy link
Copy Markdown
MemberAuthor

Still some rustdoc stuff...?

@RalfJung

RalfJung commented Jun 29, 2022

Copy link
Copy Markdown
MemberAuthor

./x.py doc compiler/rustc_builtin_macros does not reproduce the error here.

I think I know how to fix this, but how can I check...?

EDIT: ah, it's in rustc_middle.

@RalfJung

Copy link
Copy Markdown
MemberAuthor

@bors r=oli-obk

@bors

bors commented Jun 29, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit 6c990f4 has been approved by oli-obk

@borsbors 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 Jun 29, 2022
@bors

bors commented Jun 30, 2022

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 6c990f4 with merge a9eb9c5...

@bors

bors commented Jun 30, 2022

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-actions
Approved by: oli-obk
Pushing a9eb9c5 to master...

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (a9eb9c5): comparison url.

Instruction count

  • Primary benchmarks: mixed results
  • Secondary benchmarks: 😿 relevant regressions found
mean1maxcount2
Regressions 😿
(primary)
0.5%0.5%1
Regressions 😿
(secondary)
1.6%4.3%20
Improvements 🎉
(primary)
-0.3%-0.4%5
Improvements 🎉
(secondary)
-0.3%-0.3%3
All 😿🎉 (primary)-0.2%0.5%6

Max RSS (memory usage)

Results
  • Primary benchmarks: no relevant changes found
  • Secondary benchmarks: mixed results
mean1maxcount2
Regressions 😿
(primary)
N/AN/A0
Regressions 😿
(secondary)
3.3%4.4%2
Improvements 🎉
(primary)
N/AN/A0
Improvements 🎉
(secondary)
-1.4%-1.4%1
All 😿🎉 (primary)N/AN/A0

Cycles

Results
  • Primary benchmarks: 😿 relevant regression found
  • Secondary benchmarks: 😿 relevant regression found
mean1maxcount2
Regressions 😿
(primary)
3.3%3.3%1
Regressions 😿
(secondary)
2.6%2.6%1
Improvements 🎉
(primary)
N/AN/A0
Improvements 🎉
(secondary)
N/AN/A0
All 😿🎉 (primary)3.3%3.3%1

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

Next Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression-triaged along with sufficient written justification. If you cannot justify the regressions please open an issue or create a new PR that fixes the regressions, add a comment linking to the newly created issue or PR, and then add the perf-regression-triaged label to this PR.

@rustbot label: +perf-regression

Footnotes

  1. the arithmetic mean of the percent change23

  2. number of relevant changes23

@rustbotrustbot added the perf-regression Performance regression. label Jun 30, 2022
@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (a9eb9c5): comparison url.

Instruction count

  • Primary benchmarks: mixed results
  • Secondary benchmarks: 😿 relevant regressions found
mean1maxcount2
Regressions 😿
(primary)
0.5%0.5%1
Regressions 😿
(secondary)
1.6%4.3%20
Improvements 🎉
(primary)
-0.3%-0.4%5
Improvements 🎉
(secondary)
-0.3%-0.3%3
All 😿🎉 (primary)-0.2%0.5%6

Max RSS (memory usage)

Results
  • Primary benchmarks: no relevant changes found
  • Secondary benchmarks: mixed results
mean1maxcount2
Regressions 😿
(primary)
N/AN/A0
Regressions 😿
(secondary)
3.3%4.4%2
Improvements 🎉
(primary)
N/AN/A0
Improvements 🎉
(secondary)
-1.4%-1.4%1
All 😿🎉 (primary)N/AN/A0

Cycles

Results
  • Primary benchmarks: 😿 relevant regression found
  • Secondary benchmarks: 😿 relevant regression found
mean1maxcount2
Regressions 😿
(primary)
3.3%3.3%1
Regressions 😿
(secondary)
2.6%2.6%1
Improvements 🎉
(primary)
N/AN/A0
Improvements 🎉
(secondary)
N/AN/A0
All 😿🎉 (primary)3.3%3.3%1

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

Next Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression-triaged along with sufficient written justification. If you cannot justify the regressions please open an issue or create a new PR that fixes the regressions, add a comment linking to the newly created issue or PR, and then add the perf-regression-triaged label to this PR.

@rustbot label: +perf-regression

Footnotes

  1. the arithmetic mean of the percent change23

  2. number of relevant changes23

@RalfJung

Copy link
Copy Markdown
MemberAuthor

Oh, we're getting the news twice this time?^^

@Mark-SimulacrumMark-Simulacrum added the perf-regression-triaged The performance regression has been triaged. label Jul 5, 2022
@albertlarsan68albertlarsan68 mentioned this pull request Dec 27, 2022
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-borsThis PR was explicitly merged by bors.perf-regressionPerformance regression.perf-regression-triagedThe performance regression has been triaged.S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-compilerRelevant 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.

10 participants

@RalfJung@rust-highfive@oli-obk@bors@rust-log-analyzer@rust-timer@davidtwco@wesleywiser@Mark-Simulacrum@rustbot