• Andreas Haas's avatar
    Reland "[wasm] Enable --wasm-opt" · bd768bd6
    Andreas Haas authored
    This is a reland of 757f0431
    
    There was a bug in a TurboFan optimization that was fixed in
    https://chromium-review.googlesource.com/c/v8/v8/+/2504250
    
    Original change's description:
    > [wasm] Enable --wasm-opt
    >
    > This CL enables basic optimizations in TurboFan for WebAssembly code,
    > like dead code elimination (DeadCodeElimination), constant folding
    > (MachineOperatorReducer), and control flow optimizations
    > (CommonOperatorReducer).
    >
    > These optimizations were disabled originally to improve startup time,
    > at the expense of slower generated code. However, with Liftoff as the
    > baseline compiler, startup time is not so important anymore for
    > TurboFan.
    >
    > R=clemensb@chromium.org
    > CC=manoskouk@chromium.org
    >
    > Change-Id: I2a81f66929c43fbbdfc3625359772c8ea0f2235f
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2488684
    > Reviewed-by: Clemens Backes <clemensb@chromium.org>
    > Commit-Queue: Andreas Haas <ahaas@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#70691}
    
    Change-Id: Ia3f6f48649c329b9a49e038264dd12f7d872d275
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2504265Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
    Commit-Queue: Andreas Haas <ahaas@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#70871}
    bd768bd6
flag-definitions.h 86 KB