Enable promotion of SIMD fields of structs
authorCarol Eidt <carol.eidt@microsoft.com>
Tue, 29 Nov 2016 17:18:31 +0000 (09:18 -0800)
committerCarol Eidt <carol.eidt@microsoft.com>
Fri, 20 Jan 2017 00:43:49 +0000 (16:43 -0800)
commitb90dcec739bb341700c903b75b5141e1f7a6bc96
treee51b40e9b293d9e87e62161cb6d77d0dec9fec56
parent899a596992d5e290862155142cdd0c90c8536fd9
Enable promotion of SIMD fields of structs

Only look for SIMD fields if a SIMD type has been found.
Also, since more cases of local struct values are no longer marked GTF_GLOB_REF, adjust the heuristics for allocating a temporary for a struct arrRef.

Fix dotnet/coreclr#7508

Commit migrated from https://github.com/dotnet/coreclr/commit/e40595edb2c9cba2864a7e39690575cee7af94f4
src/coreclr/src/jit/compiler.cpp
src/coreclr/src/jit/compiler.h
src/coreclr/src/jit/compiler.hpp
src/coreclr/src/jit/flowgraph.cpp
src/coreclr/src/jit/lclvars.cpp
src/coreclr/src/jit/morph.cpp
src/coreclr/src/jit/simd.cpp
src/coreclr/tests/src/JIT/Regression/JitBlue/GitHub_7508/Vector3Test.cs [new file with mode: 0644]
src/coreclr/tests/src/JIT/Regression/JitBlue/GitHub_7508/Vector3Test.csproj [new file with mode: 0644]