]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/ssa: improve store combine optimization on arm64
authorWei Xiao <wei.xiao@arm.com>
Mon, 5 Mar 2018 03:50:25 +0000 (03:50 +0000)
committerCherry Zhang <cherryyz@google.com>
Tue, 6 Mar 2018 20:29:04 +0000 (20:29 +0000)
commit05962561ae490ae006377a7b8d0fd1495ad6eb2e
tree17907e9d3017dd39e8f698212b279440aaaf3591
parentb85433975aedc2be2971093b6bbb0a7dc264c8fd
cmd/compile/internal/ssa: improve store combine optimization on arm64

Current implementation doesn't consider MOVDreg type operand and fail to combine
it into larger store. This patch fixes the issue.

Fixes #24242

Change-Id: I7d68697f80e76f48c3528ece01a602bf513248ec
Reviewed-on: https://go-review.googlesource.com/98397
Run-TryBot: Giovanni Bajo <rasky@develer.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/compile/internal/ssa/gen/ARM64.rules
src/cmd/compile/internal/ssa/rewriteARM64.go
test/codegen/memcombine.go