forked from OSchip/llvm-project
These two functions should be const. We often could detect it but this just makes it always true.
llvm-svn: 292057
This commit is contained in:
parent
b18135f2b3
commit
4504cd910c
|
@ -1061,13 +1061,13 @@ public:
|
|||
|
||||
/// @brief Determine if Pred1 implies Pred2 is true when two compares have
|
||||
/// matching operands.
|
||||
bool isImpliedTrueByMatchingCmp(Predicate Pred2) {
|
||||
bool isImpliedTrueByMatchingCmp(Predicate Pred2) const {
|
||||
return isImpliedTrueByMatchingCmp(getPredicate(), Pred2);
|
||||
}
|
||||
|
||||
/// @brief Determine if Pred1 implies Pred2 is false when two compares have
|
||||
/// matching operands.
|
||||
bool isImpliedFalseByMatchingCmp(Predicate Pred2) {
|
||||
bool isImpliedFalseByMatchingCmp(Predicate Pred2) const {
|
||||
return isImpliedFalseByMatchingCmp(getPredicate(), Pred2);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue