Use SmallSet instead of std::set.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35133 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2007-03-17 08:53:30 +00:00
parent 2edd563825
commit db264ae07f

View 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();