diff options
Diffstat (limited to 'src/jit/rationalize.cpp')
-rw-r--r-- | src/jit/rationalize.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jit/rationalize.cpp b/src/jit/rationalize.cpp index cf5f44acd1..e22621206a 100644 --- a/src/jit/rationalize.cpp +++ b/src/jit/rationalize.cpp @@ -75,8 +75,8 @@ void copyFlags(GenTree* dst, GenTree* src, unsigned mask) 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; } @@ -771,7 +771,7 @@ Compiler::fgWalkResult Rationalizer::RewriteNode(GenTree** useEdge, Compiler::Ge #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); |