We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d666a78 commit b04d40eCopy full SHA for b04d40e
src/coreclr/jit/lowerxarch.cpp
@@ -9815,7 +9815,7 @@ void Lowering::ContainCheckHWIntrinsic(GenTreeHWIntrinsic* node)
9815
{
9816
GenTreeCast* cast = op1->AsCast();
9817
if (!varTypeIsFloating(cast->CastToType()) &&
9818
- !varTypeIsFloating(cast->CastFromType()) &&
+ !varTypeIsFloating(cast->CastFromType()) && !cast->CastOp()->OperIsLong() &&
9819
(genTypeSize(cast->CastToType()) >= genTypeSize(simdBaseType)) &&
9820
(genTypeSize(cast->CastFromType()) >= genTypeSize(simdBaseType)))
9821
0 commit comments