From: Dan Gohman Date: Sat, 26 Sep 2009 15:09:53 +0000 (+0000) Subject: Add a comment describing natural loops. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b7532e254810aba26da9b65ee2c65788695f8c30;p=oota-llvm.git Add a comment describing natural loops. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82859 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Analysis/LoopInfo.h b/include/llvm/Analysis/LoopInfo.h index a928ccdb8ef..bed7608b11e 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