tnachen opened PR #5402 from tnachen/sig_u32
to main
:
<!--
Please ensure that the following steps are all taken care of before submitting
the PR.
[ ] This has been discussed in issue #..., or if not, please tell us why
here.[ ] A short description of what this does, why it is needed; if the
description becomes long, the matter should probably be discussed in an issue
first.[ ] This PR contains test cases, if meaningful.
- [ ] A reviewer from the core maintainer team has been assigned for this PR.
If you don't know who could review this, please indicate so. The list of
suggested reviewers on the right can help you.Please ensure all communication adheres to the code of conduct.
-->
fitzgen submitted PR review.
fitzgen submitted PR review.
fitzgen created PR review comment:
If you want, it would be cool to push the
u32
s back even further, so thatM::compute_arg_locs
returns au32
for the stack ret space and all the implementations for each backend useu32
s and all that. Could be a follow up PR.
fitzgen has enabled auto merge for PR #5402.
jameysharp submitted PR review.
jameysharp created PR review comment:
Hah, @tnachen wanted to do that and I recommended going for the smaller patch first.
jameysharp submitted PR review.
jameysharp created PR review comment:
Well, more accurately, @tnachen wanted to change the return types of
sized_stack_arg_space()
andsized_stack_ret_space()
, which propagates out to the backends in a different way. With how widely the backends usei64
I was afraid we'd have to sort out a lot of questions about which values actually should be signed. For example, are the various offsets inStackAMode
allowed to be negative?Maybe changing
compute_arg_locs
triggers fewer difficult questions, though.
fitzgen has disabled auto merge for PR #5402.
tnachen updated PR #5402 from tnachen/sig_u32
to main
.
tnachen updated PR #5402 from tnachen/sig_u32
to main
.
jameysharp submitted PR review.
jameysharp merged PR #5402.
Last updated: Dec 23 2024 at 12:05 UTC