1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

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 e0ad51cc5a
commit 4686b922d2

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;