diff options
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp b/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp index 56aa96e..2d74b2b 100644 --- a/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp +++ b/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp @@ -971,8 +971,7 @@ bool llvm::UnrollRuntimeLoopRemainder( // (e.g. breakLoopBackedgeAndSimplify) and reused in loop-deletion. BasicBlock *RemainderLatch = remainderLoop->getLoopLatch(); assert(RemainderLatch); - SmallVector<BasicBlock*> RemainderBlocks(remainderLoop->getBlocks().begin(), - remainderLoop->getBlocks().end()); + SmallVector<BasicBlock *> RemainderBlocks(remainderLoop->getBlocks()); breakLoopBackedge(remainderLoop, *DT, *SE, *LI, nullptr); remainderLoop = nullptr; |