elliottt opened PR #5249 from trevor/rework-pinned-reg to main:
Rework pinned register lowering to avoid the use of pinned virtual registers, instead using the
MovFromPRegandMovToPRegpseudo instructions.
<!--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.
-->
elliottt updated PR #5249 from trevor/rework-pinned-reg to main.
elliottt has marked PR #5249 as ready for review.
elliottt requested fitzgen for a review on PR #5249.
elliottt created PR review comment:
If this isn't removed, the result of
MoveFromPRegwith the pinned register is ignored, and the pinned register is used directly.
elliottt submitted PR review.
elliottt submitted PR review.
elliottt created PR review comment:
It's not clear to me why this test changed to use
%rsifor the temporary, but that's what causes the new stack space.
fitzgen submitted PR review.
fitzgen submitted PR review.
fitzgen created PR review comment:
These docs are a copy paste that should be updated for the actual use of this instruction.
fitzgen created PR review comment:
Ditto
elliottt submitted PR review.
elliottt created PR review comment:
Scratch that -- it's the first preferred register, and also a clobber with sysv64.
elliottt updated PR #5249 from trevor/rework-pinned-reg to main.
elliottt updated PR #5249 from trevor/rework-pinned-reg to main.
elliottt submitted PR review.
elliottt created PR review comment:
Thanks for catching that!
elliottt submitted PR review.
elliottt created PR review comment:
Thanks for catching that!
elliottt merged PR #5249.
Last updated: Jan 10 2026 at 02:36 UTC