]> granicus.if.org Git - llvm/commitdiff
Fix signed/unsigned warning. NFCI
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 6 Oct 2019 19:54:20 +0000 (19:54 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 6 Oct 2019 19:54:20 +0000 (19:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373870 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelLowering.cpp

index 7ffe3971b6f8395cdad8fb988d90e93a15f9861e..784bf6d58c55f2480acaf8999892236224e6af89 100644 (file)
@@ -6809,7 +6809,7 @@ static bool getTargetShuffleAndZeroables(SDValue N, SmallVectorImpl<int> &Mask,
     }
   }
 
-  assert(VT.getVectorNumElements() == Size &&
+  assert(VT.getVectorNumElements() == (unsigned)Size &&
          "Different mask size from vector size!");
   return true;
 }