]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] cmd/compile/internal/ssa: rewrite rules for const comparisons
authorTodd Neal <todd@tneal.org>
Tue, 27 Oct 2015 22:46:53 +0000 (17:46 -0500)
committerTodd Neal <todd@tneal.org>
Fri, 30 Oct 2015 03:49:30 +0000 (03:49 +0000)
commitcdc36252fe38cef9afa1fa1efa61897fae8a21a2
tree637a30066330957ff50aca09f926f6da463c5c66
parentd04f38e3ee7b7948c4fd18a0a26ad351d2b88670
[dev.ssa] cmd/compile/internal/ssa: rewrite rules for const comparisons

Shaves ~8k off the go binary on darwin x64.

Change-Id: I73396af44ae28cd4cfc675290d6858f304d45b76
Reviewed-on: https://go-review.googlesource.com/16456
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/gen/generic.rules
src/cmd/compile/internal/ssa/rewritegeneric.go