aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-09-26 15:09:53 +0000
committerDan Gohman <gohman@apple.com>2009-09-26 15:09:53 +0000
commit01d166b12f2eed6b31154b48f3f94c45e0b0977f (patch)
treef59ae72d8f7e432b2e96241b4e006ae4048cd393 /include
parenta7468751ace00baa201c34277c85ae20a896dd90 (diff)
downloadexternal_llvm-01d166b12f2eed6b31154b48f3f94c45e0b0977f.zip
external_llvm-01d166b12f2eed6b31154b48f3f94c45e0b0977f.tar.gz
external_llvm-01d166b12f2eed6b31154b48f3f94c45e0b0977f.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')
-rw-r--r--include/llvm/Analysis/LoopInfo.h3
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