diff options
| author | Dan Gohman <gohman@apple.com> | 2007-05-14 14:31:17 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2007-05-14 14:31:17 +0000 |
| commit | 8d40e4d965057d221853f7569d8b027a75850d81 (patch) | |
| tree | 0feb7c6a943d7bbb2f775f0803e85548c48964d7 /llvm/lib/Transforms | |
| parent | 90d97ac1e64e2e8eba995a090e9237d2f3857e3c (diff) | |
| download | bcm5719-llvm-8d40e4d965057d221853f7569d8b027a75850d81.tar.gz bcm5719-llvm-8d40e4d965057d221853f7569d8b027a75850d81.zip | |
Correct a few comments.
llvm-svn: 37034
Diffstat (limited to 'llvm/lib/Transforms')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/LoopUnroll.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopUnroll.cpp b/llvm/lib/Transforms/Scalar/LoopUnroll.cpp index c79ec3f3861..babfc2437ee 100644 --- a/llvm/lib/Transforms/Scalar/LoopUnroll.cpp +++ b/llvm/lib/Transforms/Scalar/LoopUnroll.cpp @@ -168,7 +168,7 @@ BasicBlock *LoopUnroll::FoldBlockIntoPredecessor(BasicBlock *BB) { LI->removeBlock(BB); BB->eraseFromParent(); - // Inherit predecessors name if it exists... + // Inherit predecessor's name if it exists... if (!OldName.empty() && !OnlyPred->hasName()) OnlyPred->setName(OldName); @@ -191,10 +191,10 @@ bool LoopUnroll::runOnLoop(Loop *L, LPPassManager &LPM) { } /// Unroll the given loop by UnrollCount, or by a heuristically-determined -/// value if Count is zero. If Threshold is non-NULL, it points to -/// a Threshold value to limit code size expansion. If the loop size would -/// expand beyond the threshold value, unrolling is suppressed. The return -/// value is false if no transformations are performed. +/// value if Count is zero. If Threshold is not NoThreshold, it is a value +/// to limit code size expansion. If the loop size would expand beyond the +/// threshold value, unrolling is suppressed. The return value is true if +/// any transformations are performed. /// bool LoopUnroll::unrollLoop(Loop *L, unsigned Count, unsigned Threshold) { assert(L->isLCSSAForm()); |

