-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Enbale TYP_MASK support for ARM64 #103818
Conversation
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch |
src/coreclr/jit/valuenum.cpp
Outdated
|
||
#if defined(TARGET_XARCH) || defined(TARGET_ARM64) |
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.
You should use #if defined(FEATURE_MASKED_HW_INTRINSICS)
instead instead of defined(TARGET_XARCH) || defined(TARGET_ARM64)
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.
LGTM
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.
LGTM. This does fix the assertion and it doesn't hard crash.
/ba-g timeout issues |
* Enbale TYP_MASK support for ARM64 * cleanup: check for a FEATURE macro instead of TARGET * jit format --------- Co-authored-by: Kunal Pathak <Kunal.Pathak@microsoft.com>
Enables support for
TYP_MASK
constants introduced in #99743 for ARM64 targets.Fixes assertion failures we sometimes see now during value numbering when stress testing SVE intrinsics:
@a74nh @kunalspathak @BruceForstall