]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: modify CSE to remove redundant OpLocalAddrs
authorYoulin Feng <fengyoulin@live.com>
Thu, 14 Nov 2024 16:13:34 +0000 (00:13 +0800)
committerGopher Robot <gobot@golang.org>
Fri, 22 Nov 2024 00:12:03 +0000 (00:12 +0000)
commitc4e6ab9750e9d673a29203a9f41a517bcdc7a64c
treeff364da7a24bf8234c9900ab33c2cb076f6eabb7
parent0edea47f264a4185d78e00e1e9e977d99f5c997b
cmd/compile: modify CSE to remove redundant OpLocalAddrs

Remove the OpLocalAddrs that are unnecessary in the CSE pass, so the
following passes like DSE and memcombine can do its work better.

Fixes #70300

Change-Id: I600025d49eeadb3ca4f092d614428399750f69bc
Reviewed-on: https://go-review.googlesource.com/c/go/+/628075
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: David Chase <drchase@google.com>
Auto-Submit: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/ssa/cse.go
test/codegen/memcombine.go
test/fixedbugs/bug385_64.go