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

Dan Gohman gohman at apple.com
Fri Apr 30 11:33:41 PDT 2010


Author: djg
Date: Fri Apr 30 13:33:41 2010
New Revision: 102731

URL: http://llvm.org/viewvc/llvm-project?rev=102731&view=rev
Log:
Add some comments.

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=102731&r1=102730&r2=102731&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/ScalarEvolution.h (original)
+++ llvm/trunk/include/llvm/Analysis/ScalarEvolution.h Fri Apr 30 13:33:41 2010
@@ -651,7 +651,9 @@
                           const SCEV *LHS, const SCEV *RHS);
 
     /// SimplifyICmpOperands - Simplify LHS and RHS in a comparison with
-    /// predicate Pred. Return true iff any changes were made.
+    /// predicate Pred. Return true iff any changes were made. If the
+    /// operands are provably equal or inequal, LHS and RHS are set to
+    /// the same value and Pred is set to either ICMP_EQ or ICMP_NE.
     ///
     bool SimplifyICmpOperands(ICmpInst::Predicate &Pred,
                               const SCEV *&LHS,





More information about the llvm-commits mailing list