Need to check `supportSIMDType()` and not `featureSIMD` in rationalize.
Fixes dotnet/coreclr#24055.
Commit migrated from https://github.com/dotnet/coreclr/commit/
496d1b4b5714a4724253662b20e0486a5e74b744
void Rationalizer::RewriteSIMDOperand(LIR::Use& use, bool keepBlk)
{
#ifdef FEATURE_SIMD
- // No lowering is needed for non-SIMD nodes, so early out if featureSIMD is not enabled.
- if (!comp->featureSIMD)
+ // No lowering is needed for non-SIMD nodes, so early out if SIMD types are not supported.
+ if (!comp->supportSIMDTypes())
{
return;
}