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;
}
#ifdef FEATURE_SIMD
case GT_SIMD:
{
- noway_assert(comp->featureSIMD);
+ noway_assert(comp->supportSIMDTypes());
GenTreeSIMD* simdNode = node->AsSIMD();
unsigned simdSize = simdNode->gtSIMDSize;
var_types simdType = comp->getSIMDTypeForSize(simdSize);