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 | 7cb3dcb927a8f8a872cdf309f78cd80e197d2f14 (patch) | |
tree | 04bec353880e8c002bb9f88758e40b5fd8141191 /lib/Transforms/Utils/LoopUnroll.cpp | |
parent | 6ad251358ed5775cb94f6d4b15afa7bd745c1125 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137229 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/LoopUnroll.cpp')
-rw-r--r-- | lib/Transforms/Utils/LoopUnroll.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Utils/LoopUnroll.cpp b/lib/Transforms/Utils/LoopUnroll.cpp index ad39853779..62e4fa2953 100644 --- a/lib/Transforms/Utils/LoopUnroll.cpp +++ b/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()); |