]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.20] Revert "cmd/compile: enable address folding for global symbol...
authorCherry Mui <cherryyz@google.com>
Tue, 7 Mar 2023 18:23:40 +0000 (18:23 +0000)
committerCherry Mui <cherryyz@google.com>
Wed, 15 Mar 2023 20:11:23 +0000 (20:11 +0000)
commit5c7cc468a8dacc032c4eddea6d5e7fc089d2f517
tree8c000eb10a8f88628786e5430607f58b96f02ffc
parentb852f39511db4c8f74a243fa3ce251b0dc8872b3
[release-branch.go1.20] Revert "cmd/compile: enable address folding for global symbols of shared library"

This reverts CL 445535.

Reason for revert: see issue #58826. It doesn't handle large offset well.

Updates #58826.
Fixes #58920.

Change-Id: Ic4a33f4c510c88628ea7e16207a60977a04cf798
Reviewed-on: https://go-review.googlesource.com/c/go/+/474175
Reviewed-by: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Cherry Mui <cherryyz@google.com>
Reviewed-by: Keith Randall <khr@google.com>
(cherry picked from commit a4cf4fde466035e6a485c29bd12450d51bc7d4e1)
Reviewed-on: https://go-review.googlesource.com/c/go/+/474235
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/ssa/_gen/ARM64.rules
src/cmd/compile/internal/ssa/rewriteARM64.go