diff options
| author | Dan Gohman <gohman@apple.com> | 2010-04-30 18:33:41 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2010-04-30 18:33:41 +0000 |
| commit | be474734a534299fe3c5745ca4fe13598d9eb7c7 (patch) | |
| tree | 85db1a5abf6236a316c9767d1b112877b8a7aad9 | |
| parent | 57bb73c80b562bcb26b6955c117720dcbc05e17c (diff) | |
| download | bcm5719-llvm-be474734a534299fe3c5745ca4fe13598d9eb7c7.tar.gz bcm5719-llvm-be474734a534299fe3c5745ca4fe13598d9eb7c7.zip | |
Add some comments.
llvm-svn: 102731
| -rw-r--r-- | llvm/include/llvm/Analysis/ScalarEvolution.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/include/llvm/Analysis/ScalarEvolution.h b/llvm/include/llvm/Analysis/ScalarEvolution.h index 56dc8f8eeae..d3a8d8f4fe5 100644 --- a/llvm/include/llvm/Analysis/ScalarEvolution.h +++ b/llvm/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, |

