aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis/ScalarEvolution.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-04-30 18:33:41 +0000
committerDan Gohman <gohman@apple.com>2010-04-30 18:33:41 +0000
commit5cc6f9ba4777a460d7036edbbb3e8f01fb0a3d32 (patch)
tree0e02e89e983d56fc1eab937b1125831322e270b4 /include/llvm/Analysis/ScalarEvolution.h
parent71edb241a1fe36e5fe95244d40a2f95216cb9247 (diff)
downloadexternal_llvm-5cc6f9ba4777a460d7036edbbb3e8f01fb0a3d32.tar.gz
external_llvm-5cc6f9ba4777a460d7036edbbb3e8f01fb0a3d32.tar.bz2
external_llvm-5cc6f9ba4777a460d7036edbbb3e8f01fb0a3d32.zip
Add some comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102731 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/ScalarEvolution.h')
-rw-r--r--include/llvm/Analysis/ScalarEvolution.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/Analysis/ScalarEvolution.h b/include/llvm/Analysis/ScalarEvolution.h
index 56dc8f8eea..d3a8d8f4fe 100644
--- a/include/llvm/Analysis/ScalarEvolution.h
+++ b/include/llvm/Analysis/ScalarEvolution.h
@@ -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,