]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: memcombine different size stores
authorJunyang Shao <shaojunyang@google.com>
Mon, 31 Mar 2025 17:50:10 +0000 (17:50 +0000)
committerGopher Robot <gobot@golang.org>
Tue, 20 May 2025 20:00:16 +0000 (13:00 -0700)
commit113b25774ed8d1d915ae4e1adf9222865ccb0695
treed8793709e28fbc23f01ec7e5136b2eed841837e5
parentfa42585dadb8d70191820549435820cb70691cf6
cmd/compile: memcombine different size stores

This CL implements the TODO in combineStores to allow combining
stores of different sizes, as long as the total size aligns to
2, 4, 8.

Fixes #72832.

Change-Id: I6d1d471335da90d851ad8f3b5a0cf10bdcfa17c4
Reviewed-on: https://go-review.googlesource.com/c/go/+/661855
Reviewed-by: Keith Randall <khr@golang.org>
Auto-Submit: Junyang Shao <shaojunyang@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/compile/internal/ssa/memcombine.go
test/codegen/issue72832.go [new file with mode: 0644]