Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
tannergooding committed Sep 27, 2022
1 parent 096c732 commit 96972f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/coreclr/jit/lowerarmarch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ bool Lowering::IsContainableBinaryOp(GenTree* parentNode, GenTree* childNode) co
return false;
}

target_ssize_t shiftAmount = (target_ssize_t)shiftAmountNode->AsIntCon()->gtIconVal;
ssize_t shiftAmount = shiftAmountNode->AsIntCon()->IconValue();

if ((shiftAmount < 0x01) || (shiftAmount > 0x3F))
{
Expand Down Expand Up @@ -279,7 +279,7 @@ bool Lowering::IsContainableBinaryOp(GenTree* parentNode, GenTree* childNode) co
{
if (IsSafeToContainMem(parentNode, childNode))
{
MakeSrcContained(childNode, shiftAmountNode);
assert(shiftAmountNode->isContained());
return true;
}
}
Expand Down

0 comments on commit 96972f4

Please sign in to comment.