projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2edd563
)
Use SmallSet instead of std::set.
author
Evan Cheng
<evan.cheng@apple.com>
Sat, 17 Mar 2007 08:53:30 +0000
(08:53 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Sat, 17 Mar 2007 08:53:30 +0000
(08:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35133
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 059d8a7211640e023cb4cf356298863d69db49f2..5623776158cd8745ac2ba44c0ed239e721dd6f9c 100644
(file)
--- 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();