Use SmallSet instead of std::set.
authorEvan Cheng <evan.cheng@apple.com>
Sat, 17 Mar 2007 08:53:30 +0000 (08:53 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sat, 17 Mar 2007 08:53:30 +0000 (08:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35133 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

index 059d8a7211640e023cb4cf356298863d69db49f2..5623776158cd8745ac2ba44c0ed239e721dd6f9c 100644 (file)
@@ -3983,7 +3983,7 @@ static bool SinkInvariantGEPIndex(BinaryOperator *BinOp, LoopInfo *loopInfo,
     return false;
 
   // DestBBs - These are the blocks where a copy of BinOp will be inserted.
-  std::set<BasicBlock*> DestBBs;
+  SmallSet<BasicBlock*, 8> DestBBs;
   BasicBlock *DefBB = BinOp->getParent();
   bool MadeChange = false;
   for (Value::use_iterator UI = BinOp->use_begin(), E = BinOp->use_end();