diff options
| -rw-r--r-- | llvm/include/llvm/IR/InstrTypes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/IR/InstrTypes.h b/llvm/include/llvm/IR/InstrTypes.h index f2abbec64fe..518094735d7 100644 --- a/llvm/include/llvm/IR/InstrTypes.h +++ b/llvm/include/llvm/IR/InstrTypes.h @@ -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); } |

