Silence sign-compare warning.

llvm-svn: 154297
This commit is contained in:
Benjamin Kramer 2012-04-08 19:04:45 +00:00
parent 2f1dc3814b
commit bb6ff08766
1 changed files with 1 additions and 1 deletions

View File

@ -7824,7 +7824,7 @@ SDValue DAGCombiner::visitVECTOR_SHUFFLE(SDNode *N) {
Idx = OtherSV->getMaskElt(Idx);
// The combined shuffle must map each index to itself.
if (Idx != i && Idx != -1)
if ((unsigned)Idx != i && Idx != -1)
return SDValue();
}