]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] cmd/compile: memory allocation tweaks to regalloc and dom
authorDavid Chase <drchase@google.com>
Wed, 10 Feb 2016 22:43:31 +0000 (17:43 -0500)
committerDavid Chase <drchase@google.com>
Mon, 22 Feb 2016 15:32:58 +0000 (15:32 +0000)
commitb86cafc7dced537165a7cda61b90feae44796055
tree66d9990afac3031dfe9a7a0855b4a261dca9e08a
parent94f02451148755b31cc4dd455c9e215d5f898898
[dev.ssa] cmd/compile: memory allocation tweaks to regalloc and dom

Spotted a minor source of excess allocation in the register
allocator.  Rearranged the dominator tree code to pull its
scratch memory from a reused buffer attached to Config.

Change-Id: I6da6e7b112f7d3eb1fd00c58faa8214cdea44e38
Reviewed-on: https://go-review.googlesource.com/19450
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/ssa/config.go
src/cmd/compile/internal/ssa/dom.go
src/cmd/compile/internal/ssa/regalloc.go