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 | db264ae07f451cbd5bb33d528ae00e4910ce386b (patch) | |
tree | 3e6ea0bebee8b11227995d84d801b5abf474fccf /lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | 2edd5638255dbbcdad55ca724953e155ab13b5d1 (diff) |
Use SmallSet instead of std::set.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35133 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 059d8a7211..5623776158 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/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(); |