Commit graph

1 commit

Author SHA1 Message Date
Josh Bleecher Snyder
80123ef4bf cmd/compile: preserve pointerness during splitload
386 and AMD64's splitload could silently change
a pointer type to an int type. Fix that.
Add type preservation to the narrower widths for symmetry,
even though it doesn't matter in the same way there.

Change-Id: I155d136dd43989900d26f2a7f014d7300fdbb7cb
Reviewed-on: https://go-review.googlesource.com/c/go/+/777820
Reviewed-by: Keith Randall <khr@golang.org>
LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Keith Randall <khr@google.com>
Auto-Submit: Keith Randall <khr@golang.org>
2026-05-14 15:01:03 -07:00