diff options
| author | Roman Divacky <rdivacky@FreeBSD.org> | 2010-03-16 16:51:38 +0000 | 
|---|---|---|
| committer | Roman Divacky <rdivacky@FreeBSD.org> | 2010-03-16 16:51:38 +0000 | 
| commit | c69102774f9739c81ae1285ed9ae62405071c63c (patch) | |
| tree | 458dd25677a43aef6390ecadb4423817f00e08b0 /lib/Transforms/Utils/LoopUnroll.cpp | |
| parent | ea5b2dd11c0526581803e7eb58224a2eabf191e6 (diff) | |
Notes
Diffstat (limited to 'lib/Transforms/Utils/LoopUnroll.cpp')
| -rw-r--r-- | lib/Transforms/Utils/LoopUnroll.cpp | 6 | 
1 files changed, 0 insertions, 6 deletions
| diff --git a/lib/Transforms/Utils/LoopUnroll.cpp b/lib/Transforms/Utils/LoopUnroll.cpp index e47c86d23b3d..ac59b4d7b3e8 100644 --- a/lib/Transforms/Utils/LoopUnroll.cpp +++ b/lib/Transforms/Utils/LoopUnroll.cpp @@ -105,8 +105,6 @@ static BasicBlock *FoldBlockIntoPredecessor(BasicBlock *BB, LoopInfo* LI) {  /// If a LoopPassManager is passed in, and the loop is fully removed, it will be  /// removed from the LoopPassManager as well. LPM can also be NULL.  bool llvm::UnrollLoop(Loop *L, unsigned Count, LoopInfo* LI, LPPassManager* LPM) { -  assert(L->isLCSSAForm()); -    BasicBlock *Preheader = L->getLoopPreheader();    if (!Preheader) {      DEBUG(dbgs() << "  Can't unroll; loop preheader-insertion failed.\n"); @@ -370,9 +368,5 @@ bool llvm::UnrollLoop(Loop *L, unsigned Count, LoopInfo* LI, LPPassManager* LPM)    if (CompletelyUnroll && LPM != NULL)      LPM->deleteLoopFromQueue(L); -  // If we didn't completely unroll the loop, it should still be in LCSSA form. -  if (!CompletelyUnroll) -    assert(L->isLCSSAForm()); -    return true;  } | 
