• Manos Koukoutos's avatar
    [wasm][turbofan] Store real signature on call nodes for inlining · b927dc15
    Manos Koukoutos authored
    In each wasm CallDescriptor, we store the signature of the call based on
    the real parameters passed to the call. This signature is more precise
    than the formal function signature. We use this signature in inlining
    to enable more optimizations.
    
    Changes:
    - Add wasm_sig_ field to CallDescriptor.
    - Construct the real signature in {DoCall} and {DoReturnCall} in
      graph-builder-interface, and pass it to all call-related functions in
      WasmGraphBuilder.
    - Update {ReplaceTypeInCallDescriptorWith} to use ValueType over
      MachineType. Construct the updated function signature.
    - In wasm-inlining, kill the Call node after inlining.
    - Add two tests.
    
    Bug: v8:11510
    Change-Id: Ica711b6b4d83945ecb7201be26577eab7db3c060
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3270539Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
    Reviewed-by: 's avatarNico Hartmann <nicohartmann@chromium.org>
    Commit-Queue: Manos Koukoutos <manoskouk@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#77889}
    b927dc15
Name
Last commit
Last update
..
benchmarks Loading commit data...
bigint Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
debugging Loading commit data...
fuzzer Loading commit data...
fuzzilli Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-api-tests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...