1
0
mirror of https://github.com/golang/go synced 2024-10-04 21:21:22 -06:00
go/src/cmd
David Chase 6b0b3f86d6 cmd/compile: fix use of original spill name after sinking
This is a fix for the ssacheck builder
http://build.golang.org/log/baa00f70c34e41186051cfe90568de3d91f115d7
after CL 21307 for sinking spills down loop exits
https://go-review.googlesource.com/#/c/21037/

The fix is to reuse (move) the original spill, thus preserving
the definition of the variable and its use count. Original and
copy both use the same stack slot, but ssacheck needs to see
a definition for the variable itself.

Fixes #15279.

Change-Id: I286285490193dc211b312d64dbc5a54867730bd6
Reviewed-on: https://go-review.googlesource.com/21995
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-04-14 18:24:54 +00:00
..
addr2line cmd/addr2line: simplify windows test 2015-06-17 14:23:20 +00:00
api all: delete dead non-test code 2016-03-25 06:28:13 +00:00
asm cmd/internal/obj: remove use of package bio 2016-04-14 17:58:33 +00:00
cgo cmd/cgo: fix cgo with gccgo 2016-04-08 23:27:33 +00:00
compile cmd/compile: fix use of original spill name after sinking 2016-04-14 18:24:54 +00:00
cover all: single space after period. 2016-03-02 00:13:47 +00:00
dist cmd/compile/internal/s390x: add s390x support 2016-04-12 14:38:17 +00:00
doc all: delete dead non-test code 2016-03-25 06:28:13 +00:00
fix all: single space after period. 2016-03-02 00:13:47 +00:00
go cmd/go: fix vcsFromDir returning bad root on Windows 2016-04-12 06:25:45 +00:00
gofmt cmd/gofmt: make gofmt -s simplify slices in presence of dot-imports 2016-04-06 18:19:33 +00:00
internal cmd/internal/obj: remove use of package bio 2016-04-14 17:58:33 +00:00
link cmd/link: handle long symbol names 2016-04-13 20:31:43 +00:00
nm all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
objdump cmd/objdump: skip TestDisasm* on s390x 2016-04-12 18:10:47 +00:00
pack cmd/pack,vet: use go doc instead of godoc in doc 2016-03-17 21:06:40 +00:00
pprof cmd/pprof/internal: move to cmd/internal/pprof 2016-04-12 15:02:28 +00:00
trace misc/trace: update trace viewer html 2016-04-14 14:48:04 +00:00
vet cmd/vet: teach asm checker about PEXTRD’s op size 2016-04-14 17:58:51 +00:00
yacc all: delete dead non-test code 2016-03-25 06:28:13 +00:00