Set the size of SIMD this pointer
authorCarol Eidt <carol.eidt@microsoft.com>
Tue, 22 Nov 2016 02:58:40 +0000 (18:58 -0800)
committerCarol Eidt <carol.eidt@microsoft.com>
Tue, 22 Nov 2016 02:58:40 +0000 (18:58 -0800)
commitb2de77a4e4badf331c7ab069eee45f66404d8104
treebe0a120ef3a24147f41245a997b667f8e8e2b0c8
parentb173f78fc78fe477815ce7e371d49f6897f8f383
Set the size of SIMD this pointer

When setting the SIMD type of a "this" pointer,
we need to capture the size of the SIMD type.
This was previously being set in a method in simd.cpp,
but when the SIMD type recognition was moved
earlier in the JIT, it was omitted.
This caused an assert in the case where a fixed-size
SIMD type is handled by `fgMorphCombineSIMDFieldAssignments()`.

Fixes bug 288222

Commit migrated from https://github.com/dotnet/coreclr/commit/13d9b9f08cebb57567838b1ddf1c4f4477961e50
src/coreclr/src/jit/lclvars.cpp
src/coreclr/tests/src/JIT/Regression/JitBlue/DevDiv_288222/DevDiv_288222.cs [new file with mode: 0644]
src/coreclr/tests/src/JIT/Regression/JitBlue/DevDiv_288222/DevDiv_288222.csproj [new file with mode: 0644]