alexcrichton opened PR #5906 from x64-shr
to main
:
This catches a case that wasn't handled previously by #5880 to allow a constant load to be folded into an instruction rather than forcing it to be loaded into a temporary register.
<!--
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.
-->
abrown submitted PR review.
abrown submitted PR review.
abrown created PR review comment:
Interesting that this isn't
0x7
but maybe the printer doesn't care because it doesn't really matter?
abrown created PR review comment:
I'm assuming these were here for padding and the removal of the instruction changes the offsets enough that the padding is unnecessary.
alexcrichton submitted PR review.
alexcrichton created PR review comment:
Yeah I think this is capstone so my guess is that a less-than-10 heuristic or something like that is kicking in
alexcrichton created PR review comment:
I believe so!
alexcrichton submitted PR review.
alexcrichton merged PR #5906.
Last updated: Nov 22 2024 at 16:03 UTC