forked from OSchip/llvm-project
parent
57bb73c80b
commit
be474734a5
|
@ -651,7 +651,9 @@ namespace llvm {
|
||||||
const SCEV *LHS, const SCEV *RHS);
|
const SCEV *LHS, const SCEV *RHS);
|
||||||
|
|
||||||
/// SimplifyICmpOperands - Simplify LHS and RHS in a comparison with
|
/// 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,
|
bool SimplifyICmpOperands(ICmpInst::Predicate &Pred,
|
||||||
const SCEV *&LHS,
|
const SCEV *&LHS,
|
||||||
|
|
Loading…
Reference in New Issue