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 | b7532e254810aba26da9b65ee2c65788695f8c30 (patch) | |
tree | f59ae72d8f7e432b2e96241b4e006ae4048cd393 /include/llvm/Analysis | |
parent | c8e9314a410c3a3dfad243b6ed42a365711e9278 (diff) | |
download | external_llvm-b7532e254810aba26da9b65ee2c65788695f8c30.zip external_llvm-b7532e254810aba26da9b65ee2c65788695f8c30.tar.gz external_llvm-b7532e254810aba26da9b65ee2c65788695f8c30.tar.bz2 |
Add a comment describing natural loops.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82859 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r-- | include/llvm/Analysis/LoopInfo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Analysis/LoopInfo.h b/include/llvm/Analysis/LoopInfo.h index a928ccd..bed7608 100644 --- a/include/llvm/Analysis/LoopInfo.h +++ b/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 |