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

Update handling of limited register during consecutive registers allocation #84588

Merged
merged 12 commits into from
Apr 11, 2023

Commits on Apr 9, 2023

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

Commits on Apr 10, 2023

  1. Do not let limitRegs reduce the number of candidates

    If we find out that there are no candidates free/busy for refPositions
    that need consecutive registers, have at least one range of registers
    in the candidates such that allocation is possible.
    kunalspathak committed Apr 10, 2023
    Configuration menu
    Copy the full SHA
    1708964 View commit details
    Browse the repository at this point in the history
  2. getConsecutiveCandidates update if freeCandidate=RBM_NONE

    Intially, we were just returning RBM_NONE if we don't find any freeCandidates,
    but instead should try if we can find out if there are any busy candidates
    that we should try them out.
    kunalspathak committed Apr 10, 2023
    Configuration menu
    Copy the full SHA
    c31cfbd View commit details
    Browse the repository at this point in the history
  3. Relax limitStressRegs for refpositions live at consecutive register p…

    …osition
    
    If consecutive registers are being allocated, other refpositions that are live
    at the same location might not have enough registers left to be assigned because
    all registers are busy. As such, introduce a way to track if we are assigning
    at the location of consecutive registers, and if yes, do not take jitstressregs
    limit into account.
    kunalspathak committed Apr 10, 2023
    Configuration menu
    Copy the full SHA
    e684275 View commit details
    Browse the repository at this point in the history
  4. Update minRegCount for registerAssignment

    For consecutive register, also include the register count needed for "minimum
    register requirement" when limiting the registers.
    kunalspathak committed Apr 10, 2023
    Configuration menu
    Copy the full SHA
    13e85ac View commit details
    Browse the repository at this point in the history
  5. Remove LsraLimitFPSetForConsecutive

    With other conditions in place, no need to have LsraLimitFPSetForConsecutive.
    kunalspathak committed Apr 10, 2023
    Configuration menu
    Copy the full SHA
    f2cda1e View commit details
    Browse the repository at this point in the history
  6. Added an assert

    kunalspathak committed Apr 10, 2023
    Configuration menu
    Copy the full SHA
    c0c3f4a View commit details
    Browse the repository at this point in the history
  7. misc changes

    kunalspathak committed Apr 10, 2023
    Configuration menu
    Copy the full SHA
    01ec812 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2023

  1. jit format

    kunalspathak committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    e5698cc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fe4f675 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2a3d0f2 View commit details
    Browse the repository at this point in the history
  4. review feedback

    kunalspathak committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    3f5dfd7 View commit details
    Browse the repository at this point in the history