-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Clear contained flag in sign test optimization #121782
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
/azp run runtime-coreclr outerloop |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes issue #121723 by clearing the contained flag in the sign test optimization for ARM64. The optimization removes unnecessary casts to TYP_BYTE or TYP_SHORT when comparing values against zero in the JIT's lowering phase.
Key changes:
- Added
castOp->ClearContained()call to properly mark the cast operand as non-contained after unwrapping the cast - Updated API usage from direct field access to the
CastToType()accessor method
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This comment was marked as off-topic.
This comment was marked as off-topic.
|
/azp run runtime-coreclr outerloop |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/ba-g outerloop failures are #121699 |
Fixes #121723