]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] cmd/compile/internal/ssa: large object load/store vs. vardef
authorKeith Randall <khr@golang.org>
Mon, 7 Sep 2015 20:55:49 +0000 (13:55 -0700)
committerKeith Randall <khr@golang.org>
Mon, 7 Sep 2015 21:05:22 +0000 (21:05 +0000)
commit3fa0a75a02f8c54fe4b3436a343271ce1d6682f4
tree84c026891e02806f5f28ffbc38d0323be7bc2318
parent6bf383c7b31c990231c2a6c148b98e035b3b1b53
[dev.ssa] cmd/compile/internal/ssa: large object load/store vs. vardef

VarDef declarations are getting in the way of rewriting load/store
pairs into moves.  This change fixes that, albeit in a really hacky way.
Better options would be appreciated.

Increases coverage during make.bash from 67% to 71%.

Change-Id: I336e967687e2238c7d0d64e3b37132a731ad15c3
Reviewed-on: https://go-review.googlesource.com/14347
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
src/cmd/compile/internal/ssa/gen/generic.rules
src/cmd/compile/internal/ssa/gen/genericOps.go
src/cmd/compile/internal/ssa/rewritegeneric.go