Skip to content

[InitUndef] Only compute DeadLaneDetector if subreg liveness enabled (NFC) #108279

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 1 commit into from
Sep 12, 2024

Conversation

nikic
Copy link
Contributor

@nikic nikic commented Sep 11, 2024

InitUndef currently always computes DeadLaneDetector, but only actually uses it if subreg liveness is enabled for the target. Make the calculation optional to avoid an unnecessary compile-time impact for targets that don't enable subreg liveness.

…(NFC)

InitUndef currently always computes DeadLaneDetector, but only
actually uses it if subreg liveness is enabled for the target.
Make the calculation optional to avoid an unnecessary compile-time
impact for targets that don't enable subreg liveness.
@nikic nikic requested review from lukel97, BeMg and Stylie777 September 11, 2024 19:46
@nikic nikic merged commit e2723c2 into llvm:main Sep 12, 2024
9 checks passed
@nikic nikic deleted the init-undef-dld branch September 12, 2024 07:00
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