Uh oh!
There was an error while loading. Please reload this page.
Delete gtGetStructHandle and friends - #84212
Conversation
ghost
commented
Apr 1, 2023
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch, @kunalspathak Issue DetailsAll of this infrastructure has been made obsolete by the recent changes to support block-typed locals. Includes the deletion of
|
e0fce7f to
66d57c3CompareNo longer needed.
66d57c3 to
c47f0fdCompare| structHnd = lclVarInfo[argNum].lclVerTypeInfo.GetClassHandleForValueClass(); | ||
| assert(structHnd != NO_CLASS_HANDLE); |
There was a problem hiding this comment.
This is the reason for the few diffs: previously, the struct handle could be "refined" to a type more specific than f(__Canon), which affects VN-based copy propagation.
The diffs could be fixed (i. e. made to not exist), but only with quirks, which I did not find worth it due to the already-not-small size of this change.
SingleAccretion
commented
Apr 1, 2023
@dotnet/jit-contrib |
| CORINFO_CLASS_HANDLE PlaneHandle; | ||
| CORINFO_CLASS_HANDLE QuaternionHandle; | ||
| CORINFO_CLASS_HANDLE Vector2Handle; | ||
| CORINFO_CLASS_HANDLE Vector3Handle; | ||
| CORINFO_CLASS_HANDLE Vector4Handle; | ||
| CORINFO_CLASS_HANDLE VectorHandle; |
There was a problem hiding this comment.
Why do these ones need to stay?
There was a problem hiding this comment.
Is it just for isOpaqueSIMDType? Is there a plan to also remove that somehow?
There was a problem hiding this comment.
Is it just for
isOpaqueSIMDType?
Yep. No explicit plans for its removal currently, though one could certainly imagine rewriting it to not need the cached handles (e. g. a new getClassAttribs flag, or matching by name).
AndyAyersMS
commented
Apr 6, 2023
@SingleAccretion can you fix up the merge conflicts? |
SingleAccretion
commented
Apr 6, 2023
Conflicts have been fixed. |
AndyAyersMS
commented
Apr 10, 2023
Linux arm64 failure looks like an instance of #82771 or similar, hard to be sure without artifacts. I thkink the SPMI failures are also known issues -- @kunalspathak FYI |
tannergooding
commented
Apr 10, 2023
#84536 Is the Arm64 SPMI failure |
AndyAyersMS
commented
Apr 10, 2023
Thanks. Going to merge this. |
AndyAyersMS
commented
Apr 10, 2023
@SingleAccretion thank you. |
All of this infrastructure has been made obsolete by the recent changes to support block-typed and SIMD locals without handles.
Includes the deletion of
IsSimdAsHWIntrinsiclogic.Diffs - see below for the explanation.