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

[TableGen][GlobalISel] Add rule-wide type inference #66377

Merged
merged 2 commits into from
Nov 8, 2023

Commits on Nov 3, 2023

  1. [TableGen][GlobalISel] Add rule-wide type inference

    The inference is trivial and leverages the MCOI OperandTypes encoded in
    CodeGenInstructions to infer types across patterns in a CombineRule. It's
    thus very limited and only supports CodeGenInstructions (but that's the main
    use case so it's fine).
    
    We only try to infer untyped operands in apply patterns when they're temp
    reg defs, or immediates. Inference always outputs a `TypeOf<$x>` where $x is
    a named operand from a match pattern.
    Pierre-vh committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    b96b577 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2023

  1. Configuration menu
    Copy the full SHA
    8c3d461 View commit details
    Browse the repository at this point in the history