diff --git a/src/coreclr/jit/lowerxarch.cpp b/src/coreclr/jit/lowerxarch.cpp index 8c6e580da43ddc..55b115269a43bf 100644 --- a/src/coreclr/jit/lowerxarch.cpp +++ b/src/coreclr/jit/lowerxarch.cpp @@ -9815,7 +9815,7 @@ void Lowering::ContainCheckHWIntrinsic(GenTreeHWIntrinsic* node) { GenTreeCast* cast = op1->AsCast(); if (!varTypeIsFloating(cast->CastToType()) && - !varTypeIsFloating(cast->CastFromType()) && + !varTypeIsFloating(cast->CastFromType()) && !cast->CastOp()->OperIsLong() && (genTypeSize(cast->CastToType()) >= genTypeSize(simdBaseType)) && (genTypeSize(cast->CastFromType()) >= genTypeSize(simdBaseType))) {