From a755577a23db6b33c87791495cab7f9d3d1faf00 Mon Sep 17 00:00:00 2001 From: Carol Eidt Date: Thu, 26 May 2016 15:53:14 -0700 Subject: [PATCH] Recognize Vector constructors for small ints Fix #5116 --- src/jit/simd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.7.4