[llvm-commits] [llvm] r82859 - /llvm/trunk/include/llvm/Analysis/LoopInfo.h
Dan Gohman
gohman at apple.com
Sat Sep 26 08:09:53 PDT 2009
Author: djg
Date: Sat Sep 26 10:09:53 2009
New Revision: 82859
URL: http://llvm.org/viewvc/llvm-project?rev=82859&view=rev
Log:
Add a comment describing natural loops.
Modified:
llvm/trunk/include/llvm/Analysis/LoopInfo.h
Modified: llvm/trunk/include/llvm/Analysis/LoopInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/LoopInfo.h?rev=82859&r1=82858&r2=82859&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/LoopInfo.h (original)
+++ llvm/trunk/include/llvm/Analysis/LoopInfo.h Sat Sep 26 10:09:53 2009
@@ -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
More information about the llvm-commits
mailing list