1
0
mirror of https://github.com/golang/go synced 2024-10-05 09:11:21 -06:00
go/src/cmd/compile
Keith Randall b5c5efd5de [dev.ssa] cmd/compile: optimize phi ops
Redo how we keep track of forward references when building SSA.
When the forward reference is resolved, update the Value node
in place.

Improve the phi elimination pass so it can simplify phis of phis.

Give SSA package access to decoded line numbers.  Fix line numbers
for constant booleans.

Change-Id: I3dc9896148d260be2f3dd14cbe5db639ec9fa6b7
Reviewed-on: https://go-review.googlesource.com/18674
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: Keith Randall <khr@golang.org>
2016-01-20 21:45:37 +00:00
..
internal [dev.ssa] cmd/compile: optimize phi ops 2016-01-20 21:45:37 +00:00
doc.go cmd/compile: document -trimpath 2015-11-16 20:38:34 +00:00
main.go cmd/compile: set log prefix and suppress date 2015-11-19 23:55:50 +00:00