[AArch64] Remove dead isReflexive methods. NFC
authorDavid Green <david.green@arm.com>
Tue, 14 Feb 2023 17:58:28 +0000 (17:58 +0000)
committerDavid Green <david.green@arm.com>
Tue, 14 Feb 2023 17:58:28 +0000 (17:58 +0000)
These were added in 71f0ec242f348e7d2298 but never used.

llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.h

index 313ba3df49301aeee68d2972e2eb94208aedb051..eb73a556daa597ce6fee7f7d18cfe435825aa52a 100644 (file)
@@ -332,40 +332,6 @@ inline static unsigned getNZCVToSatisfyCondCode(CondCode Code) {
   }
 }
 
-/// Return true if Code is a reflexive relationship:
-/// forall x. (CSET Code (CMP x x)) == 1
-inline static bool isReflexive(CondCode Code) {
-  switch (Code) {
-  case EQ:
-  case HS:
-  case PL:
-  case LS:
-  case GE:
-  case LE:
-  case AL:
-  case NV:
-    return true;
-  default:
-    return false;
-  }
-}
-
-/// Return true if Code is an irreflexive relationship:
-/// forall x. (CSET Code (CMP x x)) == 0
-inline static bool isIrreflexive(CondCode Code) {
-  switch (Code) {
-  case NE:
-  case LO:
-  case MI:
-  case HI:
-  case LT:
-  case GT:
-    return true;
-  default:
-    return false;
-  }
-}
-
 } // end namespace AArch64CC
 
 struct SysAlias {