[llvm] r211356 - Code in LoopStrengthReduce.cpp depends on SmallBitVector::size() being size_t
Yaron Keren
yaron.keren at gmail.com
Fri Jun 20 05:57:44 PDT 2014
Author: yrnkrn
Date: Fri Jun 20 07:57:44 2014
New Revision: 211356
URL: http://llvm.org/viewvc/llvm-project?rev=211356&view=rev
Log:
Code in LoopStrengthReduce.cpp depends on SmallBitVector::size() being size_t
and not unsigned.
Modified:
llvm/trunk/include/llvm/ADT/SmallBitVector.h
Modified: llvm/trunk/include/llvm/ADT/SmallBitVector.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/SmallBitVector.h?rev=211356&r1=211355&r2=211356&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/SmallBitVector.h (original)
+++ llvm/trunk/include/llvm/ADT/SmallBitVector.h Fri Jun 20 07:57:44 2014
@@ -169,7 +169,7 @@ public:
}
/// size - Returns the number of bits in this bitvector.
- size_type size() const {
+ size_t size() const {
return isSmall() ? getSmallSize() : getPointer()->size();
}
More information about the llvm-commits
mailing list