diff options
author | Andrew Trick <atrick@apple.com> | 2011-08-10 18:07:05 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2011-08-10 18:07:05 +0000 |
commit | 6dbb060778bd1180512d3a8e01c8d3c4c69d7a1e (patch) | |
tree | 2aab5a7d6bd98035bb359aacd3caf5f5bfc0ff25 /llvm/lib/Transforms/Utils/LoopUnroll.cpp | |
parent | 9e916e8096e349cb3fb658411a59bf0b4896d9d2 (diff) | |
download | bcm5719-llvm-6dbb060778bd1180512d3a8e01c8d3c4c69d7a1e.tar.gz bcm5719-llvm-6dbb060778bd1180512d3a8e01c8d3c4c69d7a1e.zip |
Comments. Thanks for the spell check Nick!
Also, my apologies for spoiling the autocomplete on SimplifyInstructions.cpp. I couldn't think of a better filename.
llvm-svn: 137229
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnroll.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/LoopUnroll.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Utils/LoopUnroll.cpp b/llvm/lib/Transforms/Utils/LoopUnroll.cpp index ad398537797..62e4fa29537 100644 --- a/llvm/lib/Transforms/Utils/LoopUnroll.cpp +++ b/llvm/lib/Transforms/Utils/LoopUnroll.cpp @@ -133,7 +133,7 @@ static BasicBlock *FoldBlockIntoPredecessor(BasicBlock *BB, LoopInfo* LI, /// removed from the LoopPassManager as well. LPM can also be NULL. /// /// This utility preserves LoopInfo. If DominatorTree or ScalarEvolution are -/// available it must also preseve those analyses. +/// available it must also preserve those analyses. bool llvm::UnrollLoop(Loop *L, unsigned Count, unsigned TripCount, unsigned TripMultiple, LoopInfo *LI, LPPassManager *LPM) { BasicBlock *Preheader = L->getLoopPreheader(); @@ -380,7 +380,7 @@ bool llvm::UnrollLoop(Loop *L, unsigned Count, unsigned TripCount, } // FIXME: Reconstruct dom info, because it is not preserved properly. - // Incrementally updating domtree after loop unrolling woud be easy. + // Incrementally updating domtree after loop unrolling would be easy. if (DominatorTree *DT = LPM->getAnalysisIfAvailable<DominatorTree>()) DT->runOnFunction(*L->getHeader()->getParent()); |