• Thibaud Michaud's avatar
    Revert "[regalloc] add hint for operands in gap moves." · b22fcf9f
    Thibaud Michaud authored
    This reverts commit c14b3e4d.
    
    Reason for revert: https://crbug.com/1335195
    
    Original change's description:
    > [regalloc] add hint for operands in gap moves.
    >
    > To eliminate unnecessary move instructions from register to fixed register. We check the fixed register hint for operands in move gaps
    > when building LiveRanges. If a to_operand has a hint_operand (with fixed register), then set the hint_operand for from_operand too. This can avoid the register allocator ignore hint information about fixed register.
    >
    > Bug: v8:12909
    > Change-Id: I17f9afa484ee08de8ac1ab42945caba2c362fc9e
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3669019
    > Reviewed-by: Thibaud Michaud <thibaudm@chromium.org>
    > Commit-Queue: Jialu Zhang <jialu.zhang@intel.com>
    > Cr-Commit-Position: refs/heads/main@{#80844}
    
    Bug: v8:12909
    Change-Id: Iedba9244a75074e448c5e85880cc202866b91e71
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3702335
    Commit-Queue: Thibaud Michaud <thibaudm@chromium.org>
    Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
    Cr-Commit-Position: refs/heads/main@{#81126}
    b22fcf9f
register-allocator.h 58 KB