]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: fold constant comparisions into SETxxmem ops.
authorKeith Randall <khr@golang.org>
Wed, 11 Oct 2017 16:28:47 +0000 (09:28 -0700)
committerKeith Randall <khr@golang.org>
Wed, 11 Oct 2017 18:23:09 +0000 (18:23 +0000)
commit624630b8247ca8150e10417f0da3e2fb2ce19eac
tree4e15bcee4bd6e0054de87831297005c4aca95748
parent9ad2319bbca45b0750366e99b79db8889f0dfc5b
cmd/compile: fold constant comparisions into SETxxmem ops.

Fixes #22198

Change-Id: I5cb91c73069af8b16a2580d28756efd58c84b690
Reviewed-on: https://go-review.googlesource.com/69990
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/ssa/gen/AMD64.rules
src/cmd/compile/internal/ssa/rewriteAMD64.go
test/fixedbugs/issue22198.go [new file with mode: 0644]