mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 03:53:04 +02:00
Correct the comment for ApproximateLoopSize to reflect what it actually does.
llvm-svn: 36935
This commit is contained in:
parent
b5bf5a96ed
commit
e9789171b0
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user