]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] cmd/compile: split op rewrites into separate functions
authorKeith Randall <khr@golang.org>
Tue, 27 Oct 2015 04:49:31 +0000 (21:49 -0700)
committerKeith Randall <khr@golang.org>
Wed, 28 Oct 2015 20:07:22 +0000 (20:07 +0000)
commita347ab7cd160cfc7a58d7c074d4fdc2806f83e9d
treee76b51c8c57629ac7e2bdcc9d0f5f2af076fc4c7
parente514021153f81c30b4a483079379c343916bcb0f
[dev.ssa] cmd/compile: split op rewrites into separate functions

The single value rewrite function is too big.  Some compilers
fail on it (out of memory, branch offset too large).  Break it
up into a rewrite function per op.

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