diff options
| author | David Chase <drchase@google.com> | 2023-04-06 14:42:53 -0400 |
|---|---|---|
| committer | David Chase <drchase@google.com> | 2023-04-07 19:42:10 +0000 |
| commit | 6a97a60b4b80dfa9db91200c054d734e18dda115 (patch) | |
| tree | b05b216372dc809a329adc9465e2acc8d1e21359 /src/encoding | |
| parent | 1444c0b01e4f83a90f0d97b3bf0b346290ec02e3 (diff) | |
| download | go-6a97a60b4b80dfa9db91200c054d734e18dda115.tar.xz | |
cmd/compile: remove broken LEA "optimization"
CL 440035 added rewrite rules to simplify "costly" LEA
instructions, but the types in the rewrites were wrong and
the code would go bad if the wrong-typed register was spilled.
CL 482536 attempted to fix this by correcting the type in the
rewrite, but that "fix" broke something on windows-amd64-race.
Instead / for-now, remove the offending rewrite rules.
Updates #21735.
Fixes #59432.
Change-Id: I0497c42db414f2055e1378e0a53e2bceee9cd5d9
Reviewed-on: https://go-review.googlesource.com/c/go/+/482820
Run-TryBot: David Chase <drchase@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions
