Add a comment describing natural loops.
authorDan Gohman <gohman@apple.com>
Sat, 26 Sep 2009 15:09:53 +0000 (15:09 +0000)
committerDan Gohman <gohman@apple.com>
Sat, 26 Sep 2009 15:09:53 +0000 (15:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82859 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/LoopInfo.h

index a928ccdb8ef2b40faeb9294b6d35fdb23bf6a15d..bed7608b11e4bcdd0b1f4f31677f7f702b618c8f 100644 (file)
@@ -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