diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-03-17 08:53:30 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-03-17 08:53:30 +0000 |
commit | a2465dfc07d457f74df035658b2d72c9f381f560 (patch) | |
tree | bd071e2bc90c399cde42ca8af30111cf162ccb80 /llvm/lib/CodeGen | |
parent | be22235790e2383da01d74c2bbb8e10622c12314 (diff) | |
download | bcm5719-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.cpp | 2 |
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(); |