]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: absorb more Not ops into Neq* and Eq* ops
authorMichael Munday <mike.munday@ibm.com>
Fri, 11 Oct 2019 10:51:28 +0000 (03:51 -0700)
committerMichael Munday <mike.munday@ibm.com>
Mon, 4 Nov 2019 20:35:52 +0000 (20:35 +0000)
commitbb7890b85a4293886a665e5b83e1fb7c009d8946
tree09028d4ca549e6e805cdd8ac3616012cfc824977
parent26d5f032e99e68252f20d298bec925f2e1a1613e
cmd/compile: absorb more Not ops into Neq* and Eq* ops

We absorbed Not into most integer comparisons but not into pointer
and floating point equality checks.

The new cases trigger more than 300 times during make.bash.

Change-Id: I77c6b31fcacde10da5470b73fc001a19521ce78d
Reviewed-on: https://go-review.googlesource.com/c/go/+/200618
Run-TryBot: Michael Munday <mike.munday@ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/ssa/gen/generic.rules
src/cmd/compile/internal/ssa/rewritegeneric.go