Basic block predecessors in mir textual representation#90868
Basic block predecessors in mir textual representation#90868simonvandel wants to merge 2 commits intorust-lang:masterfrom
Conversation
|
r? @nagisa (rust-highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
nagisa
left a comment
There was a problem hiding this comment.
I think this change is fine, but ideally the comment with predecessors would come after the line that has block name, rather than before the block itself. This is how our remark comments show up in other places.
That is, I think the output should look more like
bb1: { // preds: [bb0]
|
☔ The latest upstream changes (presumably #91469) made this pull request unmergeable. Please resolve the merge conflicts. |
|
Ping from triage: |
|
Ping from triage: |
Similiar to how LLVM-IR includes `; preds = %bb1` in its textual output. Makes it a bit nicer to read mir dumps.
25e1011 to
8d48733
Compare
|
Sorry for the slow response. |
|
@bors r+ Thanks! |
|
📌 Commit 8d48733 has been approved by |
This comment has been minimized.
This comment has been minimized.
|
☔ The latest upstream changes (presumably #94174) made this pull request unmergeable. Please resolve the merge conflicts. |
|
@simonvandel this needs a rebase. |
|
Ping from triage: I'm closing this due to inactivity, Please reopen when you are ready to continue with this. Thanks for your contribution. @rustbot label: +S-inactive |
Similiar to how LLVM-IR includes
; preds = %bb1in its textual output.Makes it a bit nicer to read mir dumps.