]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: deduplicate instructions when rewrite func results
authorYoulin Feng <fengyoulin@live.com>
Tue, 29 Jul 2025 10:53:29 +0000 (18:53 +0800)
committerJorropo <jorropo.pgm@gmail.com>
Wed, 30 Jul 2025 16:38:10 +0000 (09:38 -0700)
commitcc571dab91e73413cf2ba1546a4ba485038cf2d1
tree5d2a30eb8256fc77a5273fa20aea43a92b712240
parent2174a7936c9e6109e2786369072f5b9dc5d631f5
cmd/compile: deduplicate instructions when rewrite func results

After CL 628075, do not rely on the memory arg of an OpLocalAddr.

Fixes #74788

Change-Id: I4e893241e3949bb8f2d93c8b88cc102e155b725d
Reviewed-on: https://go-review.googlesource.com/c/go/+/691275
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Jorropo <jorropo.pgm@gmail.com>
Reviewed-by: Mark Freeman <mark@golang.org>
src/cmd/compile/internal/ssa/expand_calls.go
src/cmd/internal/testdir/testdir_test.go
test/codegen/README
test/codegen/issue74788.go [new file with mode: 0644]