[regalloc] Fix merging a bundle with itself
When merging a bundle with itself, we should consider the merge a success even though we do not merge anything. The result is used to determine whether the backward spilling heuristic might introduce a stack to stack move. For this purpose, it only matters whether the phi and its input end up in the same bundle. R=sigurds@chromium.org Bug: chromium:1158088 Change-Id: Icdcfe81d58bce5916b87a34a46c9611f5978bf27 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2625876Reviewed-by: Sigurd Schneider <sigurds@chromium.org> Commit-Queue: Thibaud Michaud <thibaudm@chromium.org> Cr-Commit-Position: refs/heads/master@{#72066}
Showing
Please
register
or
sign in
to comment