mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
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:
parent
2edd563825
commit
db264ae07f
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user