Use size_t for consistency.
authorDan Gohman <gohman@apple.com>
Thu, 7 Oct 2010 23:37:58 +0000 (23:37 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 7 Oct 2010 23:37:58 +0000 (23:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116009 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/LoopStrengthReduce.cpp

index f54bf63de225c98f8c8d42e5e936ff538623b24d..4298b1c2e38c1dc72f19dd3b8cf7125acec0a6f4 100644 (file)
@@ -2903,7 +2903,7 @@ static const size_t ComplexityLimit = UINT16_MAX;
 /// this many solutions because it prune the search space, but the pruning
 /// isn't always sufficient.
 size_t LSRInstance::EstimateSearchSpaceComplexity() const {
-  uint32_t Power = 1;
+  size_t Power = 1;
   for (SmallVectorImpl<LSRUse>::const_iterator I = Uses.begin(),
        E = Uses.end(); I != E; ++I) {
     size_t FSize = I->Formulae.size();