[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/+/3669019Reviewed-by: Thibaud Michaud <thibaudm@chromium.org> Commit-Queue: Jialu Zhang <jialu.zhang@intel.com> Cr-Commit-Position: refs/heads/main@{#80844}
Showing
Please
register
or
sign in
to comment