projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8a9054
)
Correct the comment for ApproximateLoopSize to reflect what it actually does.
author
Dan Gohman
<gohman@apple.com>
Tue, 8 May 2007 15:14:19 +0000
(15:14 +0000)
committer
Dan Gohman
<gohman@apple.com>
Tue, 8 May 2007 15:14:19 +0000
(15:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36935
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/LoopUnroll.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/LoopUnroll.cpp
b/lib/Transforms/Scalar/LoopUnroll.cpp
index 89ca6d9158741c86fdf04b421dd6cbb8c2f8aa04..f0bbb2f09f71e9a3ea87de1f4dc8791ab252bb79 100644
(file)
--- a/
lib/Transforms/Scalar/LoopUnroll.cpp
+++ b/
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) {