Changes in directory llvm/lib/Transforms/Scalar:
LoopUnroll.cpp updated: 1.47 -> 1.48 --- Log message: Correct a few comments. --- Diffs of the changes: (+5 -5) LoopUnroll.cpp | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) Index: llvm/lib/Transforms/Scalar/LoopUnroll.cpp diff -u llvm/lib/Transforms/Scalar/LoopUnroll.cpp:1.47 llvm/lib/Transforms/Scalar/LoopUnroll.cpp:1.48 --- llvm/lib/Transforms/Scalar/LoopUnroll.cpp:1.47 Fri May 11 15:53:41 2007 +++ llvm/lib/Transforms/Scalar/LoopUnroll.cpp Mon May 14 09:31:17 2007 @@ -168,7 +168,7 @@ 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 @@ } /// 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()); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits