]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/ssa: mark boolean instructions commutative
authorMarvin Stenger <marvin.stenger94@gmail.com>
Wed, 3 May 2017 11:33:14 +0000 (13:33 +0200)
committerJosh Bleecher Snyder <josharian@gmail.com>
Tue, 9 May 2017 21:31:38 +0000 (21:31 +0000)
commit9aeced650fec9114433e4c8f990046f7811c9d30
tree01b735e80034b080718ba62c60d76217c9f155ca
parent6f2ee0f3dfe941e2b0cfe3f5b775727e29b1fdf0
cmd/compile/internal/ssa: mark boolean instructions commutative

Mark AndB, OrB, EqB, and NeqB as commutative.

Change-Id: Ife7cfcb9780cc5dd669617cb52339ab336667da4
Reviewed-on: https://go-review.googlesource.com/42515
Reviewed-by: Giovanni Bajo <rasky@develer.com>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/ssa/gen/genericOps.go
src/cmd/compile/internal/ssa/opGen.go
src/cmd/compile/internal/ssa/rewritegeneric.go