Skip to content

Commit

Permalink
Ensure that we normalize sigType before inserting the CvtMaskToVector…
Browse files Browse the repository at this point in the history
…Node
  • Loading branch information
tannergooding committed Jun 11, 2024
1 parent cbc5213 commit 84657f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/coreclr/jit/rationalize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ void Rationalizer::RewriteNodeAsCall(GenTree** use,
// for intrinsics that get rewritten back to user calls
assert(!operand->OperIsFieldList());

sigTyp = comp->impNormStructType(clsHnd);

if (varTypeIsMask(operand->TypeGet()))
{
#if defined(FEATURE_HW_INTRINSICS)
Expand All @@ -115,9 +117,7 @@ void Rationalizer::RewriteNodeAsCall(GenTree** use,
unreached();
#endif // FEATURE_HW_INTRINSICS
}

sigTyp = comp->impNormStructType(clsHnd);
arg = NewCallArg::Struct(operand, sigTyp, clsHnd);
arg = NewCallArg::Struct(operand, sigTyp, clsHnd);
}
else
{
Expand Down

0 comments on commit 84657f9

Please sign in to comment.