]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: logical operation identities
authorKeith Randall <khr@golang.org>
Mon, 18 Apr 2016 16:28:50 +0000 (09:28 -0700)
committerKeith Randall <khr@golang.org>
Mon, 18 Apr 2016 20:16:15 +0000 (20:16 +0000)
commit4d5adf1eb1a955bae08012e568c645eb4d7f3544
treec4dc824c406571a7363c229242bf51896fc16a98
parent4140da7b57f944cc16324496adcc5a41d7a987ed
cmd/compile: logical operation identities

Some rewrites to simplify logical operations.

Fixes #14363

Change-Id: I45a1e8f227267cbcca0778101125f7bab776a5dd
Reviewed-on: https://go-review.googlesource.com/22188
Reviewed-by: Alexandru Moșoi <alexandru@mosoi.ro>
Run-TryBot: Alexandru Moșoi <alexandru@mosoi.ro>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/ssa/gen/generic.rules
src/cmd/compile/internal/ssa/rewritegeneric.go