]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] cmd/compile: assign unused registers to phi ops
authorKeith Randall <khr@golang.org>
Mon, 19 Oct 2015 19:24:22 +0000 (12:24 -0700)
committerKeith Randall <khr@golang.org>
Thu, 22 Oct 2015 17:06:10 +0000 (17:06 +0000)
commitf206b16ff735015d4ca6b9d3ffafcee353fafa82
tree24aab19b5f6e4cf2e6cc0dcbc906a1f8f1950ae6
parentfbfc18c52281a4ac6dd812274e9a3b4774f77f76
[dev.ssa] cmd/compile: assign unused registers to phi ops

Register phis are better than stack phis.  If we have
unused registers available, use them for phis.

Change-Id: I3045711c65caa1b6d0be29131b87b57466320cc2
Reviewed-on: https://go-review.googlesource.com/16080
Run-TryBot: Keith Randall <khr@golang.org>
Reviewed-by: David Chase <drchase@google.com>
src/cmd/compile/internal/ssa/regalloc.go