diff options
author | Dan Gohman <gohman@apple.com> | 2007-05-08 15:14:19 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2007-05-08 15:14:19 +0000 |
commit | 49d08a57f5970cff4dde482f9516fd4c129caf99 (patch) | |
tree | 4d53bc7c3c66f729a3787bd82f2fae578d42d1bd | |
parent | 96e48c26fe6359da68fdf122756c2e5db89366f1 (diff) | |
download | bcm5719-llvm-49d08a57f5970cff4dde482f9516fd4c129caf99.tar.gz bcm5719-llvm-49d08a57f5970cff4dde482f9516fd4c129caf99.zip |
Correct the comment for ApproximateLoopSize to reflect what it actually does.
llvm-svn: 36935
-rw-r--r-- | llvm/lib/Transforms/Scalar/LoopUnroll.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopUnroll.cpp b/llvm/lib/Transforms/Scalar/LoopUnroll.cpp index 89ca6d91587..f0bbb2f09f7 100644 --- a/llvm/lib/Transforms/Scalar/LoopUnroll.cpp +++ b/llvm/lib/Transforms/Scalar/LoopUnroll.cpp @@ -72,8 +72,7 @@ namespace { LoopPass *llvm::createLoopUnrollPass() { return new LoopUnroll(); } -/// ApproximateLoopSize - Approximate the size of the loop after it has been -/// unrolled. +/// ApproximateLoopSize - Approximate the size of the loop. static unsigned ApproximateLoopSize(const Loop *L) { unsigned Size = 0; for (unsigned i = 0, e = L->getBlocks().size(); i != e; ++i) { |