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

[NFC] Clean up the unreachable replacement code in Print.cpp #6388

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

tlively
Copy link
Member

@tlively tlively commented Mar 8, 2024

When instructions cannot be printed because the children from which they are
supposed to get their type immediates are unreachable or null, we print blocks
of their dropped children followed by unreachables. But the logic for making
this happen was more complicated than necessary and in fact included dead code.
Clean it up.

@tlively tlively requested a review from kripken March 8, 2024 03:10
@tlively
Copy link
Member Author

tlively commented Mar 8, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @tlively and the rest of your teammates on Graphite Graphite

Base automatically changed from print-fix-array-ops to main March 8, 2024 16:10
When instructions cannot be printed because the children from which they are
supposed to get their type immediates are unreachable or null, we print blocks
of their dropped children followed by unreachables. But the logic for making
this happen was more complicated than necessary and in fact included dead code.
Clean it up.
@tlively tlively enabled auto-merge (squash) March 8, 2024 17:02
@tlively tlively merged commit a484cc2 into main Mar 8, 2024
28 checks passed
@tlively tlively deleted the print-cleanup branch March 8, 2024 17:20
@gkdn gkdn mentioned this pull request Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants