Skip to content

Conversation

@jrbyrnes
Copy link
Contributor

@jrbyrnes jrbyrnes commented Jan 23, 2025

[Change-Id: Ic349022bb99ef91f5396e462ade0366bc772ae02](#123531) moved isDead() from DeadMachineInstrElim to MachineInstr . In the process of moving, I reordered the checks to improve chances of early exit, but this has caused a slight increase in compile time.

This PR reverts back to the original order of checks.

Change-Id: Ic349022bb99ef91f5396e462ade0366bc772ae02
@jrbyrnes jrbyrnes requested a review from nikic January 23, 2025 23:21
@jrbyrnes
Copy link
Contributor Author

@nikic can you help evaluate the compile time impact / point me in the right direction?

Copy link
Contributor

@nikic nikic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jrbyrnes
Copy link
Contributor Author

Great, thanks @nikic !

@jrbyrnes jrbyrnes merged commit 6c11b7e into llvm:main Jan 24, 2025
9 checks passed
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