[llvm] r301877 - [IR] Garbage collect unused variants. NFCI.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Mon May 1 16:04:33 PDT 2017


Author: davide
Date: Mon May  1 18:04:33 2017
New Revision: 301877

URL: http://llvm.org/viewvc/llvm-project?rev=301877&view=rev
Log:
[IR] Garbage collect unused variants. NFCI.

Modified:
    llvm/trunk/include/llvm/IR/InstrTypes.h

Modified: llvm/trunk/include/llvm/IR/InstrTypes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/InstrTypes.h?rev=301877&r1=301876&r2=301877&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/InstrTypes.h (original)
+++ llvm/trunk/include/llvm/IR/InstrTypes.h Mon May  1 18:04:33 2017
@@ -1059,18 +1059,6 @@ public:
     return isFalseWhenEqual(getPredicate());
   }
 
-  /// @brief Determine if Pred1 implies Pred2 is true when two compares have
-  /// matching operands.
-  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) const {
-    return isImpliedFalseByMatchingCmp(getPredicate(), Pred2);
-  }
-
   /// @returns true if the predicate is unsigned, false otherwise.
   /// @brief Determine if the predicate is an unsigned operation.
   static bool isUnsigned(Predicate predicate);




More information about the llvm-commits mailing list