From: Carol Eidt Date: Thu, 26 May 2016 22:53:14 +0000 (-0700) Subject: Recognize Vector constructors for small ints X-Git-Tag: accepted/tizen/base/20180629.140029~4516^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a755577a23db6b33c87791495cab7f9d3d1faf00;p=platform%2Fupstream%2Fcoreclr.git Recognize Vector constructors for small ints Fix #5116 --- diff --git a/src/jit/simd.cpp b/src/jit/simd.cpp index 122972a..4536f6d 100644 --- a/src/jit/simd.cpp +++ b/src/jit/simd.cpp @@ -540,8 +540,8 @@ const SIMDIntrinsicInfo* Compiler::getSIMDIntrinsicInfo(CORINFO_CLASS_HANDLE* i assert(expectedArgType != TYP_UNDEF); if (expectedArgType == TYP_UNKNOWN) { - // JIT maps uint/ulong type vars to TYP_INT/TYP_LONG. - expectedArgType = (*baseType == TYP_UINT || *baseType == TYP_ULONG) ? genActualType(*baseType) : *baseType; + // The type of the argument will be genActualType(*baseType). + expectedArgType = genActualType(*baseType); } } else