Silence sign-compare warning.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154297 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2012-04-08 19:04:45 +00:00
parent 3ef3fcfc04
commit c47bc33218

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();
}