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

JIT: Rewrite register parameter homing #100572

Merged
merged 27 commits into from
Apr 9, 2024

Commits on Apr 3, 2024

  1. JIT: Rewrite register parameter homing

    Generalize register parameter homing to handle float and integer
    parameters simultaneously, and to handle all parameters (including the
    Swift self register). Base it on the new ABI representation.
    
    The new algorithm constructs a graph in which nodes are the source and
    destination registers of all parameters. Edges in the graph indicate
    that (part of) a register has to be moved into (part of) another
    register. To home parameters we repeatedly pick a register (preferring
    nodes without any outgoing edges) and perform the reg-reg moves
    indicated by its incoming edges. If we pick a register that has any
    outgoing edges it means there is circularity, so we need a temporary
    register to save its value.
    jakobbotsch committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    40b32cd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bf43089 View commit details
    Browse the repository at this point in the history
  3. Clean up

    jakobbotsch committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    803b86c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    843c1c8 View commit details
    Browse the repository at this point in the history
  5. Handle circularity v1

    jakobbotsch committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    0b445fb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b04c7a1 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2024

  1. Handle init reg properly

    jakobbotsch committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    d3ea5d3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e3ba587 View commit details
    Browse the repository at this point in the history
  3. Add stress mode

    jakobbotsch committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    fb3a7fe View commit details
    Browse the repository at this point in the history
  4. Fix after merge

    jakobbotsch committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    7926f1e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    705090d View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2024

  1. Configuration menu
    Copy the full SHA
    2a49d31 View commit details
    Browse the repository at this point in the history
  2. Fix after merge

    jakobbotsch committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    fcaa40a View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2024

  1. Configuration menu
    Copy the full SHA
    0b04efc View commit details
    Browse the repository at this point in the history
  2. Simplify

    jakobbotsch committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    0e20159 View commit details
    Browse the repository at this point in the history
  3. Further simplification

    jakobbotsch committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    753bdd5 View commit details
    Browse the repository at this point in the history
  4. Run jit-format

    jakobbotsch committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    993e883 View commit details
    Browse the repository at this point in the history
  5. Fix release build

    jakobbotsch committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    85fd667 View commit details
    Browse the repository at this point in the history
  6. Fix RISC-V build

    jakobbotsch committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    196c7d7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f271cc5 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9d7bbbe View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    22acb2a View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    3355002 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2024

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

Commits on Apr 8, 2024

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

Commits on Apr 9, 2024

  1. Configuration menu
    Copy the full SHA
    865bd4d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    75126d7 View commit details
    Browse the repository at this point in the history