Fix signed/unsigned comparison warning. NFCI.

llvm-svn: 366935
This commit is contained in:
Simon Pilgrim 2019-07-24 17:44:22 +00:00
parent cd7a6fa314
commit 2bf871be4c
1 changed files with 1 additions and 1 deletions

View File

@ -9076,7 +9076,7 @@ SelectionDAG::matchBinOpReduction(SDNode *Extract, ISD::NodeType &BinOp,
// Verify the shuffle has the expected (at this stage of the pyramid) mask.
for (int Index = 0; Index < (int)MaskEnd; ++Index)
if (Shuffle->getMaskElt(Index) != (MaskEnd + Index))
if (Shuffle->getMaskElt(Index) != (int)(MaskEnd + Index))
return PartialReduction(PrevOp, MaskEnd);
PrevOp = Op;