]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: refactor liveness analysis for moving to SSA
authorMatthew Dempsky <mdempsky@google.com>
Thu, 9 Mar 2017 20:15:41 +0000 (12:15 -0800)
committerMatthew Dempsky <mdempsky@google.com>
Tue, 14 Mar 2017 22:55:22 +0000 (22:55 +0000)
commit2d78538c12ed63cc931b552c9c98b7c93b91b21d
treeb5295bbd4d81b287db135b1d4e91b67cf4a13e4e
parenta9824cd47c1927ffc4eca040d60aecaa26130329
cmd/compile: refactor liveness analysis for moving to SSA

In the SSA CFG, TEXT, RET, and JMP instructions correspond to Blocks,
not Values. Rework liveness analysis so that progeffects only cares
about Progs that result from Values, and handle Blocks separately.

Passes toolstash-check -all.

Change-Id: Ic23719c75b0421fdb51382a08dac18c3ba042b32
Reviewed-on: https://go-review.googlesource.com/38085
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
src/cmd/compile/internal/gc/plive.go