forked from OSchip/llvm-project
Fix signed/unsigned comparison warning. NFCI.
llvm-svn: 366935
This commit is contained in:
parent
cd7a6fa314
commit
2bf871be4c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue