Skip to content

Commit

Permalink
Allow remorph of SIMD assignment
Browse files Browse the repository at this point in the history
This fixes an assert exposed by JitStress=1.


Commit migrated from dotnet/coreclr@70e11ac
  • Loading branch information
CarolEidt committed Dec 5, 2016
1 parent c552b65 commit 736376b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/src/jit/morph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10579,7 +10579,7 @@ GenTreePtr Compiler::fgMorphSmpOp(GenTreePtr tree, MorphAddrContext* mac)
{
// We should check whether op2 should be assigned to a SIMD field or not.
// If it is, we should tranlate the tree to simd intrinsic.
assert((tree->gtDebugFlags & GTF_DEBUG_NODE_MORPHED) == 0);
assert(!fgGlobalMorph || ((tree->gtDebugFlags & GTF_DEBUG_NODE_MORPHED) == 0));
GenTreePtr newTree = fgMorphFieldAssignToSIMDIntrinsicSet(tree);
typ = tree->TypeGet();
op1 = tree->gtGetOp1();
Expand Down

0 comments on commit 736376b

Please sign in to comment.