Skip to content

Don't ask for pointers to have the fill of their contents.#2129

Merged
vext01 merged 1 commit intomasterfrom
load_fill_fix
Mar 16, 2026
Merged

Don't ask for pointers to have the fill of their contents.#2129
vext01 merged 1 commit intomasterfrom
load_fill_fix

Conversation

@ltratt
Copy link
Contributor

@ltratt ltratt commented Mar 14, 2026

When we're doing, say, a sgt comparison on a memory address, we shouldn't make the pointer be signed: the signedness is on the byte(s) we load from that address. This is a mostly-harmless bug (since pointers on x64 are 64 bits wide, so signedness / unsignedness is a no-op), except it triggered a sanity-checking assert in x64hirtoasm.

When we're doing, say, a `sgt` comparison on a memory address, we
shouldn't make the _pointer_ be signed: the signedness is on the byte(s)
we load from that address. This is a mostly-harmless bug (since pointers
on x64 are 64 bits wide, so signedness / unsignedness is a no-op),
except it triggered a sanity-checking `assert` in x64hirtoasm.
@vext01 vext01 added this pull request to the merge queue Mar 16, 2026
Merged via the queue into master with commit 828544e Mar 16, 2026
2 checks passed
@ltratt ltratt deleted the load_fill_fix branch March 16, 2026 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants