]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] cmd/compile/internal/ssa: ensure Phi ops are scheduled first
authorKeith Randall <khr@golang.org>
Tue, 14 Jul 2015 06:52:59 +0000 (23:52 -0700)
committerKeith Randall <khr@golang.org>
Tue, 14 Jul 2015 15:39:56 +0000 (15:39 +0000)
commit4e204b42f5b66ea36f0421098a42addc7c2ba6c7
treeebae276d22d85cecba7874fe5e0c65da1f832747
parent337b7e7e3bb3a6a141d4aa10f8ed79ee33b6f7e9
[dev.ssa] cmd/compile/internal/ssa: ensure Phi ops are scheduled first

Phi ops should always be scheduled first.  They have the semantics
of all happening simultaneously at the start of the block.  The regalloc
phase assumes all the phis will appear first.

Change-Id: I30291e1fa384a0819205218f1d1ec3aef6d538dd
Reviewed-on: https://go-review.googlesource.com/12154
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
src/cmd/compile/internal/ssa/schedule.go