]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: combine similar optimization rules on arm64
authorerifan01 <eric.fang@arm.com>
Tue, 7 Mar 2023 00:49:11 +0000 (08:49 +0800)
committerEric Fang <eric.fang@arm.com>
Fri, 24 Mar 2023 01:18:58 +0000 (01:18 +0000)
commite81cc9119f7906ebded91f4cdc149866ac2acc0d
tree16d20a614a5efedb191c6e40270ab5f3b985ac6e
parent10c2348602a3bc44b9b352fe95a18b83b025e367
cmd/compile: combine similar optimization rules on arm64

This CL combines some rules with the same structure.
In order to avoid extremely long rules, this CL does not merge some
rules. In addition, this CL aligned the components of some rules for
better reading.

Change-Id: I4ba1493251ace00b10591e3c8eef4b6277a4b226
Reviewed-on: https://go-review.googlesource.com/c/go/+/476115
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Run-TryBot: Eric Fang <eric.fang@arm.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/cmd/compile/internal/ssa/_gen/ARM64.rules
src/cmd/compile/internal/ssa/rewriteARM64.go