[llvm] r373870 - Fix signed/unsigned warning. NFCI
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 6 12:54:20 PDT 2019
Author: rksimon
Date: Sun Oct 6 12:54:20 2019
New Revision: 373870
URL: http://llvm.org/viewvc/llvm-project?rev=373870&view=rev
Log:
Fix signed/unsigned warning. NFCI
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=373870&r1=373869&r2=373870&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Sun Oct 6 12:54:20 2019
@@ -6809,7 +6809,7 @@ static bool getTargetShuffleAndZeroables
}
}
- assert(VT.getVectorNumElements() == Size &&
+ assert(VT.getVectorNumElements() == (unsigned)Size &&
"Different mask size from vector size!");
return true;
}
More information about the llvm-commits
mailing list