Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Formatting
  • Loading branch information
EgorBo committed Nov 1, 2021
commit 7bf486d6f33fcd45401c0e171ac1f1df490f36cf
6 changes: 4 additions & 2 deletions src/coreclr/jit/lsrabuild.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3070,13 +3070,15 @@ int LinearScan::BuildOperandUses(GenTree* node, regMaskTP candidates)
BuildUse(node->gtGetOp1(), candidates);
return 1;
}
#endif // FEATURE_HW_INTRINSICS
if (node->OperIs(GT_MUL)) // Can be contained for MultiplyAdd
#endif // FEATURE_HW_INTRINSICS
if (node->OperIs(GT_MUL))
{
// Can be contained for MultiplyAdd
return BuildBinaryUses(node->AsOp(), candidates);
}
if (node->OperIs(GT_NEG))
{
// Can be contained for MultiplyAdd
return BuildOperandUses(node->gtGetOp1(), candidates);
}

Expand Down