summaryrefslogtreecommitdiff
path: root/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
commitb7211a2ce13a0365e0e1dd2f27adda2ee3d1288b (patch)
treeb9ad502a1f6b2bc11758d76401b46b4660a6e4d4 /lib/Transforms/Utils/LoopSimplify.cpp
parent2d691333acec66118ede55b6d7ec7a3083bc1e01 (diff)
downloadllvm-b7211a2ce13a0365e0e1dd2f27adda2ee3d1288b.tar.gz
llvm-b7211a2ce13a0365e0e1dd2f27adda2ee3d1288b.tar.bz2
llvm-b7211a2ce13a0365e0e1dd2f27adda2ee3d1288b.tar.xz
Use SmallVector instead of std::vector.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41207 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/LoopSimplify.cpp')
-rw-r--r--lib/Transforms/Utils/LoopSimplify.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Utils/LoopSimplify.cpp b/lib/Transforms/Utils/LoopSimplify.cpp
index 226f364c6a..20eecd6f33 100644
--- a/lib/Transforms/Utils/LoopSimplify.cpp
+++ b/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());