summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRuss Keldorph <russ.keldorph@microsoft.com>2019-04-18 11:11:59 -0700
committerGitHub <noreply@github.com>2019-04-18 11:11:59 -0700
commitaf83b8ad6fe02b45321741e26d996ee4b738d67f (patch)
treec2b4c1209bbac6743dfd4c597eef4ba47ae67fdc /src
parent12d7055fe427c6ab4d8c04d28a9f6a35ade6815c (diff)
parent7876c66480b09556eadca985bb78468a74dbe6b9 (diff)
downloadcoreclr-af83b8ad6fe02b45321741e26d996ee4b738d67f.tar.gz
coreclr-af83b8ad6fe02b45321741e26d996ee4b738d67f.tar.bz2
coreclr-af83b8ad6fe02b45321741e26d996ee4b738d67f.zip
Merge pull request #24071 from AndyAyersMS/Fix24055
JIT: fix arm64 crossgen simd issue
Diffstat (limited to 'src')
-rw-r--r--src/jit/rationalize.cpp6
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);