Silence a warning
authorAnton Korobeynikov <asl@math.spbu.ru>
Tue, 9 Jun 2009 23:00:39 +0000 (23:00 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Tue, 9 Jun 2009 23:00:39 +0000 (23:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73152 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelLowering.cpp

index 9e15a543bced0fefc630c2df809ff1c09c1ff69b..2f94b67849ea80e09101a2364c532eca7095fc00 100644 (file)
@@ -7696,7 +7696,7 @@ static bool EltsFromConsecutiveLoads(ShuffleVectorSDNode *N, unsigned NumElems,
                                      SelectionDAG &DAG, MachineFrameInfo *MFI,
                                      const TargetLowering &TLI) {
   LDBase = NULL;
-  LastLoadedElt = -1;
+  LastLoadedElt = -1U;
   for (unsigned i = 0; i < NumElems; ++i) {
     if (N->getMaskElt(i) < 0) {
       if (!LDBase)