]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile: use stricter rule for possible partial overlap
authorKeith Randall <khr@golang.org>
Thu, 22 Sep 2022 21:09:21 +0000 (14:09 -0700)
committerKeith Randall <khr@golang.org>
Tue, 27 Sep 2022 20:09:33 +0000 (20:09 +0000)
commit6485e8f50334f4ff369984759c22fba327a5d064
treecd0edbb2ffd3fc7bb8e1e93d1916c8deb489882f
parent92a94a702469e1e57662fa2a7e6b4dc3d7161bd1
cmd/compile: use stricter rule for possible partial overlap

Partial overlaps can only happen for strict sub-pieces of larger arrays.
That's a much stronger condition than the current optimization rules.

Update #54467

Change-Id: I11e539b71099e50175f37ee78fddf69283f83ee5
Reviewed-on: https://go-review.googlesource.com/c/go/+/433056
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: Keith Randall <khr@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/ssagen/ssa.go
test/codegen/issue54467.go [new file with mode: 0644]