Skip to content

MIR-Validate StorageLive. #108175

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

Merged
merged 2 commits into from
Feb 27, 2023
Merged

MIR-Validate StorageLive. #108175

merged 2 commits into from
Feb 27, 2023

Conversation

cjgillot
Copy link
Contributor

StorageLive statements on a local which already has storage is banned by miri.

This check is easy enough, and can detect bugs in MIR opts.

@rustbot
Copy link
Collaborator

rustbot commented Feb 17, 2023

r? @wesleywiser

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Feb 17, 2023
@tmiasko
Copy link
Contributor

tmiasko commented Feb 17, 2023

@bors try

@bors
Copy link
Collaborator

bors commented Feb 17, 2023

⌛ Trying commit 81ebbfa7113eb2dce2a68064061dbcdb8522734a with merge 47a7405fd6f67fc959d6d12979f06fb1b5dcafac...

@bors
Copy link
Collaborator

bors commented Feb 17, 2023

☀️ Try build successful - checks-actions
Build commit: 47a7405fd6f67fc959d6d12979f06fb1b5dcafac (47a7405fd6f67fc959d6d12979f06fb1b5dcafac)

@wesleywiser
Copy link
Member

I assume we want a perf run:

@rust-timer build 47a7405fd6f67fc959d6d12979f06fb1b5dcafac

@rust-timer

This comment has been minimized.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (47a7405fd6f67fc959d6d12979f06fb1b5dcafac): comparison URL.

Overall result: no relevant changes - no action needed

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-perf -perf-regression

Instruction count

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

Max RSS (memory usage)

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

Cycles

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

Copy link
Member

@wesleywiser wesleywiser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me with @tmiasko's suggestion applied

@wesleywiser wesleywiser added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 23, 2023
@tmiasko
Copy link
Contributor

tmiasko commented Feb 27, 2023

@bors r+

@bors
Copy link
Collaborator

bors commented Feb 27, 2023

📌 Commit bf46b9c has been approved by tmiasko

It is now in the queue for this repository.

@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-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Feb 27, 2023
@bors
Copy link
Collaborator

bors commented Feb 27, 2023

⌛ Testing commit bf46b9c with merge 7d782b7...

@bors
Copy link
Collaborator

bors commented Feb 27, 2023

☀️ Test successful - checks-actions
Approved by: tmiasko
Pushing 7d782b7 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Feb 27, 2023
@bors bors merged commit 7d782b7 into rust-lang:master Feb 27, 2023
@rustbot rustbot added this to the 1.69.0 milestone Feb 27, 2023
@rust-timer
Copy link
Collaborator

Finished benchmarking commit (7d782b7): comparison URL.

Overall result: ❌ regressions - ACTION NEEDED

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
cc @rust-lang/wg-compiler-performance

Instruction count

This is a highly reliable metric that was used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
0.6% [0.6%, 0.7%] 3
Regressions ❌
(secondary)
0.3% [0.3%, 0.5%] 4
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 0.6% [0.6%, 0.7%] 3

Max RSS (memory usage)

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

Cycles

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

@rustbot rustbot added the perf-regression Performance regression. label Feb 27, 2023
@cjgillot cjgillot deleted the validate-storage branch February 27, 2023 21:35
@pnkfelix
Copy link
Member

pnkfelix commented Mar 1, 2023

  • MIR-Validate StorageLive. #108175 regressed helloworld check by 0.6% in three incremental scenarios.
  • note though that these regressions did not show up in the timer run before the PR landed.
  • marking as triaged.

@rustbot label: perf-regression-triaged

@rustbot rustbot added the perf-regression-triaged The performance regression has been triaged. label Mar 1, 2023
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. perf-regression Performance regression. perf-regression-triaged The performance regression has been triaged. 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.

7 participants