• Josh Bleecher Snyder's avatar
    cmd/compile: eliminate more nil checks of phis · c694f6f3
    Josh Bleecher Snyder authored
    The existing implementation started by eliminating
    nil checks for OpAddr, OpAddPtr, and OpPhis with
    all non-nil args.
    
    However, some OpPhis had all non-nil args,
    but their args had not been processed yet.
    
    Pull the OpPhi checks into their own loop,
    and repeat until stabilization.
    
    Eliminates a dozen additional nilchecks during make.bash.
    
    Negligible compiler performance impact.
    
    Change-Id: If7b803c3ad7582af7d9867d05ca13e03e109d864
    Reviewed-on: https://go-review.googlesource.com/37999
    Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarDavid Chase <drchase@google.com>
    c694f6f3
Name
Last commit
Last update
.github Loading commit data...
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...