]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: add recursive-invalidate Value method, use in expand_calls
authorDavid Chase <drchase@google.com>
Thu, 8 Apr 2021 16:44:05 +0000 (12:44 -0400)
committerDavid Chase <drchase@google.com>
Thu, 8 Apr 2021 20:26:47 +0000 (20:26 +0000)
commita9e475a15a7211c356157d1d0e5dc7cef7dd970e
treed26df7156a549a71bdb2148d9a7d39e3527f89e1
parent7e583806d8135a59866ff329cc19a0bc4425aa80
cmd/compile: add recursive-invalidate Value method, use in expand_calls

This removes more unused values during transformation.
Leaving them in the tree can create type conflicts in OpArg* references.

Updates #40724.
Updates #44816.
Fixes #45417.

Change-Id: I07dcb7b4b2bf8d79e22e0543cb2fb52c2ececb96
Reviewed-on: https://go-review.googlesource.com/c/go/+/308589
Trust: David Chase <drchase@google.com>
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/compile/internal/ssa/expand_calls.go
src/cmd/compile/internal/ssa/value.go