summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/LoopSimplify.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2007-08-21 00:31:24 +0000
committerDevang Patel <dpatel@apple.com>2007-08-21 00:31:24 +0000
commitb5933bbbd5c235278fbc41f7cef4b6f43eab79eb (patch)
tree3b97ca8d8bc47fd7e5b4ccdb593ba3499dfa8151 /llvm/lib/Transforms/Utils/LoopSimplify.cpp
parentb04ea61b7979117d249111f264a44edab686b744 (diff)
downloadbcm5719-llvm-b5933bbbd5c235278fbc41f7cef4b6f43eab79eb.tar.gz
bcm5719-llvm-b5933bbbd5c235278fbc41f7cef4b6f43eab79eb.zip
Use SmallVector instead of std::vector.
llvm-svn: 41207
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopSimplify.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/LoopSimplify.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/LoopSimplify.cpp b/llvm/lib/Transforms/Utils/LoopSimplify.cpp
index 226f364c6a6..20eecd6f330 100644
--- a/llvm/lib/Transforms/Utils/LoopSimplify.cpp
+++ b/llvm/lib/Transforms/Utils/LoopSimplify.cpp
@@ -199,7 +199,7 @@ ReprocessLoop:
// predecessors that are inside of the loop. This check guarantees that the
// loop preheader/header will dominate the exit blocks. If the exit block has
// predecessors from outside of the loop, split the edge now.
- std::vector<BasicBlock*> ExitBlocks;
+ SmallVector<BasicBlock*, 8> ExitBlocks;
L->getExitBlocks(ExitBlocks);
SetVector<BasicBlock*> ExitBlockSet(ExitBlocks.begin(), ExitBlocks.end());
OpenPOWER on IntegriCloud