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:
faf8fa5
)
Smallvectorize switchExitBlocks.
author
Dan Gohman
<gohman@apple.com>
Thu, 3 Sep 2009 20:36:13 +0000
(20:36 +0000)
committer
Dan Gohman
<gohman@apple.com>
Thu, 3 Sep 2009 20:36:13 +0000
(20:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80942
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/LoopInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/LoopInfo.cpp
b/lib/Analysis/LoopInfo.cpp
index 94dc15411340f5e0bfe31b6eee3d3a634a6fbb9f..10806eb36a40b33d96471c6437f4cdb1a2c5da4d 100644
(file)
--- a/
lib/Analysis/LoopInfo.cpp
+++ b/
lib/Analysis/LoopInfo.cpp
@@
-308,7
+308,7
@@
Loop::getUniqueExitBlocks(SmallVectorImpl<BasicBlock *> &ExitBlocks) const {
SmallVector<BasicBlock *, 128> LoopBBs(block_begin(), block_end());
std::sort(LoopBBs.begin(), LoopBBs.end());
-
std::vector<BasicBlock *
> switchExitBlocks;
+
SmallVector<BasicBlock *, 32
> switchExitBlocks;
for (block_iterator BI = block_begin(), BE = block_end(); BI != BE; ++BI) {