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

[AArch64] Take cmn into account when adjusting compare constants #97774

Closed
wants to merge 1 commit into from

Commits on Jul 4, 2024

  1. [AArch64] Take cmn folding of the right hand side into account when f…

    …olding
    
    Turning a cmp into cmn saves an extra mov and negate instruction, so take that into account when choosing when to flip the compare operands.
    
    Also do not consider right-hand operands whose absolute value can be encoded into a cmn.
    
    Revert "[AArch64] Take cmn folding of the right hand side into account when folding"
    
    This reverts commit 213d1cb.
    
    [AArch64] Take cmn into account when adjusting compare constants
    AreaZR committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    5483bee View commit details
    Browse the repository at this point in the history