[llvm] r343385 - Fix signed/unsigned mismatch warning. NFCI.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 29 10:11:19 PDT 2018
Author: rksimon
Date: Sat Sep 29 10:11:19 2018
New Revision: 343385
URL: http://llvm.org/viewvc/llvm-project?rev=343385&view=rev
Log:
Fix signed/unsigned mismatch 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=343385&r1=343384&r2=343385&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Sat Sep 29 10:11:19 2018
@@ -5790,7 +5790,7 @@ static bool getTargetConstantBitsFromNod
return false;
UndefElts = APInt::getNullValue(NumElts);
- for (int i = 0; i != NumElts; ++i) {
+ for (int i = 0; i != (int)NumElts; ++i) {
int M = Mask[i];
if (M < 0) {
UndefElts.setBit(i);
More information about the llvm-commits
mailing list