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

[SelectionDAG] Add space-optimized forms of OPC_CheckPatternPredicate #73319

Merged

Commits on Jan 11, 2024

  1. [SelectionDAG] Add space-optimized forms of OPC_CheckPatternPredicate

    We record the usage of each `PatternPredicate` and sort them by
    usage.
    
    For the top 8 `PatternPredicate`s, we will emit a
    `OPC_CheckPatternPredicateN` to save one byte.
    
    The old `OPC_CheckPatternPredicate2` is renamed to
    `OPC_CheckPatternPredicateTwoByte`.
    
    Overall this reduces the llc binary size with all in-tree targets by
    about 93K.
    wangpc-pp committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    a9e617e View commit details
    Browse the repository at this point in the history