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:
Daniel Berlin 2017-01-15 07:40:51 +00:00
parent b18135f2b3
commit 4504cd910c
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}