[Hexagon] Deleting versions of compare-not that don't have encoding information....
[oota-llvm.git] / lib / Target / Hexagon / HexagonHardwareLoops.cpp
index 637b0a0d0bff83c5a1c37a50a0f5165329545e81..6f7703b572a8a32678b8f58d01c0b1aa10bc640d 100644 (file)
@@ -553,7 +553,7 @@ CountValue *HexagonHardwareLoops::getLoopTripCount(MachineLoop *L,
       Cmp = !Negated ? Comparison::GTs : Comparison::LEs;
       break;
     // Very limited support for byte/halfword compares.
-    case Hexagon::CMPbEQri_V4:
+    case Hexagon::A4_cmpbeqi:
     case Hexagon::CMPhEQri_V4: {
       if (IVBump != 1)
         return nullptr;
@@ -574,7 +574,7 @@ CountValue *HexagonHardwareLoops::getLoopTripCount(MachineLoop *L,
       }
       if (InitV >= EndV)
         return nullptr;
-      if (CondOpc == Hexagon::CMPbEQri_V4) {
+      if (CondOpc == Hexagon::A4_cmpbeqi) {
         if (!isInt<8>(InitV) || !isInt<8>(EndV))
           return nullptr;
       } else {  // Hexagon::CMPhEQri_V4