• Leszek Swirski's avatar
    [compiler] Propagate liveness across suspends · 41b80eef
    Leszek Swirski authored
    Suspend points (inside generators and async functions) have slightly
    funky semantics when it comes to liveness, as they save and restore a
    chunk of the register file as-is. In particular, this means that
    granular liveness information is lost, as it is assumed that all
    registers in that chunk of the register file are live in a suspend.
    
    Rather than marking that entire chunk of register as live/dead in
    suspend/restore, we can instead pattern-match the set of bytecodes in a
    suspend point, and propagate liveness across them. This tightens
    liveness estimates, and could be used to optimize which values TurboFan
    actually saves when suspending.
    
    Bug: chromium:798137
    Change-Id: I5840cdbfc2c6edb1d3a48cf025f52615b629cdfc
    Reviewed-on: https://chromium-review.googlesource.com/848895
    Commit-Queue: Leszek Swirski <leszeks@chromium.org>
    Reviewed-by: 's avatarJaroslav Sevcik <jarin@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#50757}
    41b80eef
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...
.editorconfig Loading commit data...
.git-blame-ignore-revs Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.vpython 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...