• Jamie Gennis's avatar
    6g,8g: make constant propagation inlining-friendly. · fff732ea
    Jamie Gennis authored
    This changes makes constant propagation compare 'from' values using node
    pointers rather than symbol names when checking to see whether a set
    operation is redundant. When a function is inlined multiple times in a
    calling function its arguments will share symbol names even though the values
    are different. Prior to this fix the bug409 test would hit a case with 6g
    where an LEAQ instruction was incorrectly eliminated from the second inlined
    function call. 8g appears to have had the same bug, but the test did not fail
    there.
    
    R=golang-dev, rsc
    CC=golang-dev
    https://golang.org/cl/5646044
    fff732ea
Name
Last commit
Last update
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
libmach Loading commit data...
pkg Loading commit data...
Make.dist Loading commit data...
all.bash Loading commit data...
all.bat Loading commit data...
clean.bash Loading commit data...
make.bash Loading commit data...
make.bat Loading commit data...
run.bash Loading commit data...
run.bat Loading commit data...
sudo.bash Loading commit data...