diff options
| author | Dan Gohman <gohman@apple.com> | 2009-09-26 15:09:53 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-09-26 15:09:53 +0000 |
| commit | 534ad04302b01566a7956e196c104e10995c141c (patch) | |
| tree | 6501950bbc55e8168dcbaa00926c343b61db92ef /llvm | |
| parent | 0b3cfab288471db5c32e6ea762b1b7466029a2db (diff) | |
| download | bcm5719-llvm-534ad04302b01566a7956e196c104e10995c141c.tar.gz bcm5719-llvm-534ad04302b01566a7956e196c104e10995c141c.zip | |
Add a comment describing natural loops.
llvm-svn: 82859
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/Analysis/LoopInfo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm/Analysis/LoopInfo.h b/llvm/include/llvm/Analysis/LoopInfo.h index a928ccdb8ef..bed7608b11e 100644 --- a/llvm/include/llvm/Analysis/LoopInfo.h +++ b/llvm/include/llvm/Analysis/LoopInfo.h @@ -8,7 +8,8 @@ //===----------------------------------------------------------------------===// // // This file defines the LoopInfo class that is used to identify natural loops -// and determine the loop depth of various nodes of the CFG. Note that natural +// and determine the loop depth of various nodes of the CFG. A natural loop +// has exactly one entry-point, which is called the header. Note that natural // loops may actually be several loops that share the same header node. // // This analysis calculates the nesting structure of loops in a function. For |

