]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.7] cmd/compile: compare size in dead store elimination
authorKeith Randall <khr@golang.org>
Wed, 7 Sep 2016 17:57:26 +0000 (10:57 -0700)
committerChris Broadfoot <cbro@golang.org>
Wed, 7 Sep 2016 18:48:24 +0000 (18:48 +0000)
commit24f46bd34fff99cbf64762b65e7896fd1e8f2f7c
treead90c71defbcca9131689ffc42deec6f12d0831c
parentc24b5d43a6cce1f25b141d37c7cd6a9f2c7d352c
[release-branch.go1.7] cmd/compile: compare size in dead store elimination

This CL is a manual backpatch of CL 27320 into the 1.7.1 release branch.

The manual backpatch is required because OpZero changed from having a
size as its AuxInt to having a size+align as its AuxInt (that was to support
the ARM SSA backend).  Otherwise the CLs should be identical.

Please review carefully!

Change-Id: I569b759c06d1971c9c62dc5dd589abc7ef7c844a
Reviewed-on: https://go-review.googlesource.com/28670
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/ssa/deadstore.go
src/cmd/compile/internal/ssa/deadstore_test.go