]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: correct maintain use count when phi args merge
authorDavid Chase <drchase@google.com>
Thu, 17 Mar 2016 20:14:41 +0000 (16:14 -0400)
committerDavid Chase <drchase@google.com>
Thu, 17 Mar 2016 20:55:13 +0000 (20:55 +0000)
commit3a17fdaba037aa0fac9ee06f2cd8636ba61182d0
treeb2e17b49617c037359fc2df7c29908a9793976f6
parentebd9f1bd4c39bc2fe3bcf6f0d3c81f70dae495d8
cmd/compile: correct maintain use count when phi args merge

The critical phase did not correctly maintain the use count
when two predecessors of a new critical block transmit the
same value.

Change-Id: Iba802c98ebb84e36a410721ec32c867140efb6d4
Reviewed-on: https://go-review.googlesource.com/20822
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Todd Neal <todd@tneal.org>
src/cmd/compile/internal/ssa/critical.go