diff options
| author | David Chase <drchase@google.com> | 2020-07-15 09:07:00 -0400 |
|---|---|---|
| committer | David Chase <drchase@google.com> | 2020-09-18 16:15:57 +0000 |
| commit | 65dfe4a772a4bc612219d93886e5c07290785ee6 (patch) | |
| tree | 6fed706b26a778ac91a94b26bcc74055d8c31bb7 /src/runtime/error.go | |
| parent | 44c0586931344c2c218b8074972b18fd5ff440bc (diff) | |
| download | go-65dfe4a772a4bc612219d93886e5c07290785ee6.tar.xz | |
cmd/compile: generate late-lowering static calls
This is testing for the limited case of zero or one SSA-able results.
One regression is that the later expansion of "Dereference" into
Move into argument slots thwarts the
MOVE A -> B, MOVE B -> C
replaced-by
MOVE A -> B, MOVE A -> C
optimization; the second move is written instead as a Dereference at the
phase where the optimization occurs, and because the target of the
dereference is not visible in the dereference, it's not possible to verify
that A and B or A and C don't overlap in some peculiar way (and for results
fed to args, they can).
Regression is repaired in a later CL by changing when calls are expanded.
Change-Id: Ia0f48a9d483d5a54a99657a24b12b25b8edde55f
Reviewed-on: https://go-review.googlesource.com/c/go/+/242782
Trust: David Chase <drchase@google.com>
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/runtime/error.go')
0 files changed, 0 insertions, 0 deletions
