]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] cmd/compile: speed up cse
authorTodd Neal <todd@tneal.org>
Sun, 7 Feb 2016 02:56:50 +0000 (20:56 -0600)
committerTodd Neal <todd@tneal.org>
Mon, 8 Feb 2016 02:43:19 +0000 (02:43 +0000)
commitbc0792284306ade896db24002a52d00901ce5f69
tree1d4891a854d4495245c5ec3ab9b058918f4617c6
parentfaf1bdb42b81f75b49307667e170754621b6653f
[dev.ssa] cmd/compile: speed up cse

Examine both Aux and AuxInt to form more precise initial partitions.
Restructure loop to avoid repeated type.Equal() call.  Speeds up
compilation of testdata/gen/arithConst_ssa by 25%.

Change-Id: I3cfb1d254adf0601ee69239e1885b0cf2a23575b
Reviewed-on: https://go-review.googlesource.com/19313
Run-TryBot: Todd Neal <todd@tneal.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/ssa/cse.go