-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Delete GT_SIMD_CHK
and GT_HW_INTRINSIC_CHK
#62088
Delete GT_SIMD_CHK
and GT_HW_INTRINSIC_CHK
#62088
Conversation
Tagging subscribers to this area: @JulieLeeMSFT Issue DetailsThe former was unused, the latter - barely used. Overall, there is no need for these to be separate opers, it just leads to unnecessary There are two commits with this change: first just mechanically the opers, leaving for back-compat places where the array checks were treated different as they were. The second commit removes the distinction as it is not a useful one. Since the bounds checks are (no longer) array-only, the remaining oper was renamed to simply
|
366dd06
to
01de691
Compare
@dotnet/jit-contrib |
Whoops, that approval was meant for #61911. 😄 |
5ac62d2
to
722f8e0
Compare
The former was unused, the latter - barely used. Overall, there is no need for these to be separate opers, it just leads to unnecessary `#ifdef`s.
In loop cloning: redundant with the check for constant lengths below. In assertion propagation: needless pessimization. In range check: not needed. While it is not useful to search for the array lengths from "new int[] { ... }" expressions, it is still useful to look for assertions related to them.
722f8e0
to
866b487
Compare
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
@echesakov are you going to review as well? |
The former was unused, the latter - barely used. Overall, there is no need for these to be separate opers, it just leads to unnecessary
#ifdef
s.There are two commits with this change: first just mechanically deletes the opers, leaving for back-compat places where the array checks were treated differently. The second commit removes the distinction as it is not a useful one.
Since the bounds checks are (no longer) array-only, the remaining oper was renamed to simply
GT_BOUNDS_CHECK
.Some diffs from the second commit, in particular the assertion propagation change.