[llvm] r215333 - Increase the size of PMTopLevelManager::ImmutablePasses from 8 to 16.

Hans Wennborg hans at hanshq.net
Sun Aug 10 19:17:16 PDT 2014


Author: hans
Date: Sun Aug 10 21:17:15 2014
New Revision: 215333

URL: http://llvm.org/viewvc/llvm-project?rev=215333&view=rev
Log:
Increase the size of PMTopLevelManager::ImmutablePasses from 8 to 16.

During a bootstrap build of Clang, this SmallVector always held 14 elements.

Modified:
    llvm/trunk/include/llvm/IR/LegacyPassManagers.h

Modified: llvm/trunk/include/llvm/IR/LegacyPassManagers.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/LegacyPassManagers.h?rev=215333&r1=215332&r2=215333&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/LegacyPassManagers.h (original)
+++ llvm/trunk/include/llvm/IR/LegacyPassManagers.h Sun Aug 10 21:17:15 2014
@@ -248,7 +248,7 @@ private:
   DenseMap<Pass *, SmallPtrSet<Pass *, 8> > InversedLastUser;
 
   /// Immutable passes are managed by top level manager.
-  SmallVector<ImmutablePass *, 8> ImmutablePasses;
+  SmallVector<ImmutablePass *, 16> ImmutablePasses;
 
   DenseMap<Pass *, AnalysisUsage *> AnUsageMap;
 };





More information about the llvm-commits mailing list