Skip to content

Commit

Permalink
Update the assert to include createscalar (#91504)
Browse files Browse the repository at this point in the history
  • Loading branch information
kunalspathak authored Sep 7, 2023
1 parent 1aecc38 commit c53e4dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/coreclr/jit/lowerarmarch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1188,6 +1188,8 @@ GenTree* Lowering::LowerHWIntrinsic(GenTreeHWIntrinsic* node)
bool Lowering::IsValidConstForMovImm(GenTreeHWIntrinsic* node)
{
assert((node->GetHWIntrinsicId() == NI_Vector64_Create) || (node->GetHWIntrinsicId() == NI_Vector128_Create) ||
(node->GetHWIntrinsicId() == NI_Vector64_CreateScalar) ||
(node->GetHWIntrinsicId() == NI_Vector128_CreateScalar) ||
(node->GetHWIntrinsicId() == NI_Vector64_CreateScalarUnsafe) ||
(node->GetHWIntrinsicId() == NI_Vector128_CreateScalarUnsafe) ||
(node->GetHWIntrinsicId() == NI_AdvSimd_DuplicateToVector64) ||
Expand Down

0 comments on commit c53e4dc

Please sign in to comment.