[llvm-commits] [llvm] r77081 - /llvm/trunk/include/llvm/Analysis/ScalarEvolution.h

Dan Gohman gohman at apple.com
Sat Jul 25 09:18:39 PDT 2009


Author: djg
Date: Sat Jul 25 11:18:38 2009
New Revision: 77081

URL: http://llvm.org/viewvc/llvm-project?rev=77081&view=rev
Log:
Fix a few comments to say "backedge-taken count" instead of
"trip count".

Modified:
    llvm/trunk/include/llvm/Analysis/ScalarEvolution.h

Modified: llvm/trunk/include/llvm/Analysis/ScalarEvolution.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/ScalarEvolution.h?rev=77081&r1=77080&r2=77081&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Analysis/ScalarEvolution.h (original)
+++ llvm/trunk/include/llvm/Analysis/ScalarEvolution.h Sat Jul 25 11:18:38 2009
@@ -291,7 +291,8 @@
                                                 BasicBlock *FBB);
 
     /// ComputeLoadConstantCompareBackedgeTakenCount - Given an exit condition
-    /// of 'icmp op load X, cst', try to see if we can compute the trip count.
+    /// of 'icmp op load X, cst', try to see if we can compute the
+    /// backedge-taken count.
     const SCEV *
       ComputeLoadConstantCompareBackedgeTakenCount(LoadInst *LI,
                                                    Constant *RHS,
@@ -302,7 +303,7 @@
     /// a constant number of times (the condition evolves only from constants),
     /// try to evaluate a few iterations of the loop until we get the exit
     /// condition gets a value of ExitWhen (true or false).  If we cannot
-    /// evaluate the trip count of the loop, return CouldNotCompute.
+    /// evaluate the backedge-taken count of the loop, return CouldNotCompute.
     const SCEV *ComputeBackedgeTakenCountExhaustively(const Loop *L,
                                                       Value *Cond,
                                                       bool ExitWhen);





More information about the llvm-commits mailing list