summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-03-17 08:53:30 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-03-17 08:53:30 +0000
commita2465dfc07d457f74df035658b2d72c9f381f560 (patch)
treebd071e2bc90c399cde42ca8af30111cf162ccb80 /llvm/lib/CodeGen
parentbe22235790e2383da01d74c2bbb8e10622c12314 (diff)
downloadbcm5719-llvm-a2465dfc07d457f74df035658b2d72c9f381f560.tar.gz
bcm5719-llvm-a2465dfc07d457f74df035658b2d72c9f381f560.zip
Use SmallSet instead of std::set.
llvm-svn: 35133
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 059d8a72116..5623776158c 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -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();
OpenPOWER on IntegriCloud