Fix -Wsign-compare warning (issued by clang++).
llvm-svn: 100799
This commit is contained in:
parent
98bc4371c7
commit
d87bd77586
|
@ -5552,7 +5552,7 @@ SDValue DAGCombiner::visitEXTRACT_VECTOR_ELT(SDNode *N) {
|
|||
InVec = InVec.getOperand(0);
|
||||
if (ISD::isNormalLoad(InVec.getNode())) {
|
||||
LN0 = cast<LoadSDNode>(InVec);
|
||||
Elt = (Idx < (int)NumElems) ? Idx : Idx - NumElems;
|
||||
Elt = (Idx < (int)NumElems) ? Idx : Idx - (int)NumElems;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue