diff options
| author | David Finkel <david.finkel@gmail.com> | 2020-04-25 13:32:06 -0400 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2020-08-31 18:22:08 +0000 |
| commit | f0c7e3e9463069f60b3d31696860f6fb75aa3e87 (patch) | |
| tree | 38895be8e917899479097f3387d6eaa75b02f54f /src/debug/elf/testdata/multiple-code-sections.c | |
| parent | 9e70564f639252aade60369b51a121f3325e9d6c (diff) | |
| download | go-f0c7e3e9463069f60b3d31696860f6fb75aa3e87.tar.xz | |
cmd/compile: adjust some AMD64 rewrite rules to use typed aux fields
Remove an extra int32-representable check when deciding to use an int32
constant as an immediate value.
Comment out a broken optimization that relies on MaxUint32 being
representable by a signed int32. It never triggers and when fixed, the
signedness of the auxint prevents other optimization passes from
handling it properly, thus causing segfaults in the runtime.
Remove a couple offset representable in 32-bits checks on 32-bit aux
vals.
toolstash-check clean
Change-Id: I148b53403fde523c90d692cb90e412460664b439
Reviewed-on: https://go-review.googlesource.com/c/go/+/230458
Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/debug/elf/testdata/multiple-code-sections.c')
0 files changed, 0 insertions, 0 deletions
