Add some comments.
authorDan Gohman <gohman@apple.com>
Fri, 30 Apr 2010 18:33:41 +0000 (18:33 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 30 Apr 2010 18:33:41 +0000 (18:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102731 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/ScalarEvolution.h

index 56dc8f8eeaec4d7c35d930e0776e030e961abd55..d3a8d8f4fe51114c2c061d6a9a914c75ba2a2210 100644 (file)
@@ -651,7 +651,9 @@ namespace llvm {
                           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,