Skip to content

[DeadMachineInstructionElim] NFC: Provide DeadMachineInstructionInfo #121818

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

Closed
wants to merge 1 commit into from

Conversation

jrbyrnes
Copy link
Contributor

@jrbyrnes jrbyrnes commented Jan 6, 2025

Provide DeadMachineInstructionInfo interface so independent passes have access to ad-hoc isDead queries / eliminateDeadMI walks. LivePhysRegs is optional in isDead for the case where a user wants to pessimistically check deadness of a single MI without doing the LivePhysReg walk.

Change-Id: I01bc6daa07c9d446f072b526f0067a0b93e6b526
@jrbyrnes
Copy link
Contributor Author

jrbyrnes commented Jan 6, 2025

See #117247 for a usecase

@jrbyrnes
Copy link
Contributor Author

Abandon for #123531

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants