• Keith Randall's avatar
    cmd/compile: fix noopt build · 0c6c3d1d
    Keith Randall authored
    Atomic add rules were depending on CSE to combine duplicate atomic ops.
    With -N, CSE doesn't run.
    
    Redo the rules for atomic add so there's only one atomic op.
    Introduce an add-to-first-part-of-tuple pseudo-ops to make the atomic add result correct.
    
    Change-Id: Ib132247051abe5f80fefad6c197db8df8ee06427
    Reviewed-on: https://go-review.googlesource.com/27991
    Run-TryBot: Keith Randall <khr@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarCherry Zhang <cherryyz@google.com>
    0c6c3d1d
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...