• Leszek Swirski's avatar
    [turbofan] Allow registers/accum/params to share state value nodes · 6c5cd4d2
    Leszek Swirski authored
    Previously, accumulators and registers each had a single element cache,
    distinct from the local register cache. This meant that
    
     a) Dead accumulator state nodes were not re-used if the accumulator
        became live.
     b) Functions with only one parameter (the this object) or only one
        local register could not reuse the single-valued state value node
        of the accumulator.
    
    This patch introduces heavier re-use of state-value nodes, decreasing
    memory use when building the graph and decreasing the number of nodes
    created overall.
    
    Change-Id: Ie3cc6913483aab0819d99be382eb2cb42de8c3d2
    Reviewed-on: https://chromium-review.googlesource.com/440926Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
    Commit-Queue: Leszek Swirski <leszeks@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#43148}
    6c5cd4d2
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides Loading commit data...
docs Loading commit data...
gni Loading commit data...
gypfiles Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...