diff options
| author | Keith Randall <khr@golang.org> | 2016-08-28 11:17:37 -0700 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2016-08-28 18:54:52 +0000 |
| commit | 0c6c3d1de7bfe40d3589109bf2adb1726d6caca8 (patch) | |
| tree | 289b75b172be749405754a69c5e4d53a3dac187a /src/database/sql/sql_test.go | |
| parent | 84aac622a40d4707513b02cf056977d852b38e18 (diff) | |
| download | go-0c6c3d1de7bfe40d3589109bf2adb1726d6caca8.tar.xz | |
cmd/compile: fix noopt build
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: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/database/sql/sql_test.go')
0 files changed, 0 insertions, 0 deletions
