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

Fix -Zdump-mir-dataflow by implementing DebugWithContext for ChunkedBitSet #96578

Merged
merged 2 commits into from
May 2, 2022

Conversation

tmiasko
Copy link
Contributor

@tmiasko tmiasko commented Apr 30, 2022

DebugWithContext is used to format changes to dataflow state along with MIR
in graphviz dot files. In the case of ChunkedBitSet it was left unimplemented,
so attempts to use -Zdump-mir-dataflow -Zdump-mir=all resulted in an ICE:

thread 'rustc' panicked at 'not implemented: implement when/if needed',

Provide the missing implementation.

r? @nnethercote

@rustbot rustbot added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Apr 30, 2022
@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 30, 2022
@nnethercote
Copy link
Contributor

Thanks!

@bors r+

@bors
Copy link
Contributor

bors commented May 2, 2022

📌 Commit 0e7d54c has been approved by nnethercote

@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 2, 2022
@bors
Copy link
Contributor

bors commented May 2, 2022

⌛ Testing commit 0e7d54c with merge bed05e9...

@bors
Copy link
Contributor

bors commented May 2, 2022

☀️ Test successful - checks-actions
Approved by: nnethercote
Pushing bed05e9 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label May 2, 2022
@bors bors merged commit bed05e9 into rust-lang:master May 2, 2022
@rustbot rustbot added this to the 1.62.0 milestone May 2, 2022
@tmiasko tmiasko deleted the chunked-bit-set-fmt branch May 2, 2022 22:18
@rust-timer
Copy link
Collaborator

Finished benchmarking commit (bed05e9): comparison url.

Summary: This benchmark run did not return any relevant results.

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

@rustbot label: -perf-regression

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.

6 participants