]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: reuse blocks in critical pass
authorTodd Neal <todd@tneal.org>
Wed, 16 Mar 2016 02:14:04 +0000 (21:14 -0500)
committerTodd Neal <todd@tneal.org>
Thu, 17 Mar 2016 12:12:34 +0000 (12:12 +0000)
commit50bc546d432632ba948efd43927973ea752549ed
tree70644b3d6bfc57073a2c2fdb5c936ff1f715741f
parentf2f2434d47c711dcbe7d3abdee4293ae0f4c0739
cmd/compile: reuse blocks in critical pass

If a phi has duplicate arguments, then the new block that is constructed
to remove the critical edge can be used for all of the duplicate
arguments.

read-only data = -904 bytes (-0.058308%)
global text (code) = -2240 bytes (-0.060056%)
Total difference -3144 bytes (-0.056218%)

Change-Id: Iee3762744d6a8c9d26cdfa880bb23feb62b03c9c
Reviewed-on: https://go-review.googlesource.com/20746
Run-TryBot: Todd Neal <todd@tneal.org>
Reviewed-by: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/ssa/critical.go