diff options
author | Carol Eidt <carol.eidt@microsoft.com> | 2016-11-29 09:18:31 -0800 |
---|---|---|
committer | Carol Eidt <carol.eidt@microsoft.com> | 2017-01-19 16:43:49 -0800 |
commit | e40595edb2c9cba2864a7e39690575cee7af94f4 (patch) | |
tree | 5705906367cf175aff1e72b2a31ad298fce5d1ee /src/jit/simd.cpp | |
parent | 01f8e7d49fb666c3feae2658eb623e7631b73ce2 (diff) | |
download | coreclr-e40595edb2c9cba2864a7e39690575cee7af94f4.tar.gz coreclr-e40595edb2c9cba2864a7e39690575cee7af94f4.tar.bz2 coreclr-e40595edb2c9cba2864a7e39690575cee7af94f4.zip |
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 #7508
Diffstat (limited to 'src/jit/simd.cpp')
-rw-r--r-- | src/jit/simd.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jit/simd.cpp b/src/jit/simd.cpp index e0f63c2f88..21999337e5 100644 --- a/src/jit/simd.cpp +++ b/src/jit/simd.cpp @@ -347,6 +347,7 @@ var_types Compiler::getBaseTypeAndSizeOfSIMDType(CORINFO_CLASS_HANDLE typeHnd, u } *sizeBytes = size; + setUsesSIMDTypes(true); } return simdBaseType; |