]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] cmd/compile/internal/ssa: add more critical edges
authorKeith Randall <khr@golang.org>
Tue, 25 Aug 2015 21:02:30 +0000 (14:02 -0700)
committerKeith Randall <khr@golang.org>
Tue, 25 Aug 2015 21:20:18 +0000 (21:20 +0000)
commita2f8b0d0e4f0dea41ff8dad29c249d8b204140f1
tree6ca523169e1dff2f24d2f0b12b50e16e91817d9c
parentec39d78ddd2168d617e52086a1f5841a6cc03959
[dev.ssa] cmd/compile/internal/ssa: add more critical edges

Add blocks to remove critical edges, even when it looks like
there's no phi that requires it.  Regalloc still likes to have
critical-edge-free graphs for other reasons.

Change-Id: I69f8eaecbc5d79ab9f2a257c2e289d60b18e43c8
Reviewed-on: https://go-review.googlesource.com/13933
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
src/cmd/compile/internal/ssa/check.go
src/cmd/compile/internal/ssa/critical.go