• Alexandru Moșoi's avatar
    [dev.ssa] cmd/compile/internal/ssa: eliminate phis during deadcode removal · 40f2b57e
    Alexandru Moșoi authored
    While investigating the differences between 19710 (remove
    tautological controls) and 12960 (bounds and nil propagation)
    I observed that part of the wins of 19710 come from missed
    opportunities for deadcode elimination due to phis.
    See for example runtime.stackcacherelease. 19710 happens much
    later than 12960 and has more chances to eliminate bounds.
    
    Size of pkg/tool/linux_amd64/* excluding compile:
    
    -this -12960 95882248
    +this -12960 95880120
    -this +12960 95581512
    +this +12960 95555224
    
    This change saves about 25k.
    
    Change-Id: Id2f4e55fc92b71595842ce493c3ed527d424fe0e
    Reviewed-on: https://go-review.googlesource.com/19728Reviewed-by: 's avatarDavid Chase <drchase@google.com>
    Run-TryBot: Alexandru Moșoi <alexandru@mosoi.ro>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    40f2b57e
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...