]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: remove reduntant Zero rule
authorJakub Ciolek <jakub@ciolek.dev>
Sun, 5 Jan 2025 10:31:11 +0000 (11:31 +0100)
committerKeith Randall <khr@golang.org>
Tue, 4 Feb 2025 17:41:43 +0000 (09:41 -0800)
commit46fd6b4e37f043b57a2d426a633f61ffd4c40931
tree6e6022529b5ffde7475982a1d91fa611a6563785
parentbdc2d856a872f42705b3a7045c3420031efa4af7
cmd/compile: remove reduntant Zero rule

These two rules produce the same output but have opposite
s%16 conditions. Consolidate them into a single rule.

Change-Id: I6daa0e7f7af4a4e59a3125b66b85f59e888586c5
Reviewed-on: https://go-review.googlesource.com/c/go/+/640475
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/cmd/compile/internal/ssa/_gen/AMD64.rules
src/cmd/compile/internal/ssa/rewriteAMD64.go