[llvm] r273120 - Fixed signed/unsigned warning.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 19 11:20:44 PDT 2016


Author: rksimon
Date: Sun Jun 19 13:20:44 2016
New Revision: 273120

URL: http://llvm.org/viewvc/llvm-project?rev=273120&view=rev
Log:
Fixed signed/unsigned warning.

Modified:
    llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=273120&r1=273119&r2=273120&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Sun Jun 19 13:20:44 2016
@@ -7134,7 +7134,7 @@ static bool isShuffleEquivalent(SDValue
 static bool isTargetShuffleEquivalent(ArrayRef<int> Mask,
                                       ArrayRef<int> ExpectedMask) {
   int Size = Mask.size();
-  if (Size != ExpectedMask.size())
+  if (Size != (int)ExpectedMask.size())
     return false;
 
   for (int i = 0; i < Size; ++i)




More information about the llvm-commits mailing list