• Stephan Herhut's avatar
    [regalloc] Speed up state handling · 2394b268
    Stephan Herhut authored
    The register allocator spends significant amounts of time on updating
    the state of active and inactive live range sets. In many cases, no
    update is needed. By precomputing when the next update is due during
    state management, we can avoid unnecessary checks. This cuts the time
    spent for managing queues in half.
    
    Change-Id: I44074266bed2f09171872a829f115e61608b76c8
    Reviewed-on: https://chromium-review.googlesource.com/c/1352308Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
    Commit-Queue: Stephan Herhut <herhut@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#57990}
    2394b268
register-allocator.cc 149 KB