]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] cmd/compile: schedule values dependent on the control later
authorTodd Neal <todd@tneal.org>
Sat, 29 Aug 2015 17:51:04 +0000 (12:51 -0500)
committerTodd Neal <todd@tneal.org>
Mon, 31 Aug 2015 22:17:23 +0000 (22:17 +0000)
commit21e6a055c125022d1a10a6d57f5910cef5d2cb6d
treed4f8a7bcf5b289e0e3f64fac47bb535869eef9e1
parent3b7f0c9cba109cb629d023918520f916fcbb1343
[dev.ssa] cmd/compile: schedule values dependent on the control later

To reduce the number of spills, give any non-phi values whose argument
is the control the same priority as the control.

With mask.bash, this reduces regenerated flags from 603 to 240.

Change-Id: I26883d69e80357c56b343428fb528102b3f26e7a
Reviewed-on: https://go-review.googlesource.com/14042
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/ssa/schedule.go