[SystemZ] Remove some now unused ISD XXX_LOOP opcodes.
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>
Thu, 14 Oct 2021 12:42:58 +0000 (14:42 +0200)
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>
Thu, 14 Oct 2021 12:55:44 +0000 (14:55 +0200)
llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
llvm/lib/Target/SystemZ/SystemZISelLowering.h

index d8b00610bada4307db646a574d96c878d0ed3f6c..e3a79e6d1a9947aaae831518f1ad08e836ce7874 100644 (file)
@@ -5668,15 +5668,10 @@ const char *SystemZTargetLowering::getTargetNodeName(unsigned Opcode) const {
     OPCODE(SUBCARRY);
     OPCODE(GET_CCMASK);
     OPCODE(MVC);
-    OPCODE(MVC_LOOP);
     OPCODE(NC);
-    OPCODE(NC_LOOP);
     OPCODE(OC);
-    OPCODE(OC_LOOP);
     OPCODE(XC);
-    OPCODE(XC_LOOP);
     OPCODE(CLC);
-    OPCODE(CLC_LOOP);
     OPCODE(STPCPY);
     OPCODE(STRCMP);
     OPCODE(SEARCH_STRING);
index 248efc11b87fd61e19594a64ad92a38f0a5a6814..461f804ca55e50def2535df8b180189728f9d395 100644 (file)
@@ -117,23 +117,14 @@ enum NodeType : unsigned {
   // MachineMemOperands rather than one.
   MVC,
 
-  // Like MVC, but implemented as a loop that handles X*256 bytes
-  // followed by straight-line code to handle the rest (if any).
-  // The value of X is passed as an additional operand.
-  MVC_LOOP,
-
-  // Similar to MVC and MVC_LOOP, but for logic operations (AND, OR, XOR).
+  // Similar to MVC, but for logic operations (AND, OR, XOR).
   NC,
-  NC_LOOP,
   OC,
-  OC_LOOP,
   XC,
-  XC_LOOP,
 
   // Use CLC to compare two blocks of memory, with the same comments
-  // as for MVC and MVC_LOOP.
+  // as for MVC.
   CLC,
-  CLC_LOOP,
 
   // Use an MVST-based sequence to implement stpcpy().
   STPCPY,