v8/test
Thibaud Michaud 0bfae5d165 [gap-resolver] Emit move based on destination representation
If the phi moves are the same for all predecessors, the move optimizer
will merge them by picking an arbitrary move among them,
moving it to the phi's block, and eliminating the moves in the
predecessor blocks.
However, phi inputs may have different width, and this can result in a
mismatch between the source and destination representation.
Always emit gap moves based on the destination operand's
representation, to ensure that in this case the wider phi inputs are not
truncated.

R=tebbi@chromium.org
CC=dmercadier@chromium.org

Bug: chromium:1407571
Change-Id: I0263cd5024e8e1340fb971267b133a2a91090f8f
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4178824
Commit-Queue: Thibaud Michaud <thibaudm@chromium.org>
Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#85403}
2023-01-19 14:32:57 +00:00
..
benchmarks Microoptimizations in FastDtoa. 2022-12-16 15:03:39 +00:00
bigint
cctest [gap-resolver] Emit move based on destination representation 2023-01-19 14:32:57 +00:00
common Various post-Code rename cleanups 2023-01-18 16:26:26 +00:00
debugger Reland: "[wasm] Compile debug code lazily" 2022-12-15 14:59:13 +00:00
debugging
fuzzer Various post-Code rename cleanups 2023-01-18 16:26:26 +00:00
fuzzilli
inspector [inspector] Omit call frames in instrumentation pause messages 2023-01-19 06:39:10 +00:00
intl Skip intl/overrides/caching 2023-01-10 09:45:05 +00:00
js-perf-test [perf] Add file to js-perf-test resources list 2023-01-11 10:50:45 +00:00
memory
message Resolved an issue where an earlier error was not reported first in certain cases 2022-11-11 13:43:32 +00:00
mjsunit [mjsunit] Mark regress-1353555 as non-predictable 2023-01-18 14:16:52 +00:00
mkgrokdump [heap] Rename safepoint scopes 2022-10-25 16:32:55 +00:00
mozilla [mips32] Delete mips32 from v8 2022-09-13 07:54:54 +00:00
test262 RegExp.flags: check individual flags in correct order 2023-01-18 18:43:39 +00:00
torque
unittests [heap] Fix saving the callee-saved registers on stack 2023-01-19 12:29:05 +00:00
wasm-api-tests [wasm-gc] Final types 2022-12-20 14:03:30 +00:00
wasm-js [wasm] Update spec tests 2023-01-11 19:59:14 +00:00
wasm-spec-tests [wasm] Update spec tests 2023-01-11 19:59:14 +00:00
webkit [mips32] Delete mips32 from v8 2022-09-13 07:54:54 +00:00
BUILD.gn
OWNERS