]> granicus.if.org Git - llvm/commitdiff
[SystemZ] Move misplaced SystemZ::TDC to non-memory opcode range.
authorMarcin Koscielnicki <koriakin@0x04.net>
Sat, 2 Jul 2016 02:20:40 +0000 (02:20 +0000)
committerMarcin Koscielnicki <koriakin@0x04.net>
Sat, 2 Jul 2016 02:20:40 +0000 (02:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@274417 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/SystemZ/SystemZISelLowering.cpp
lib/Target/SystemZ/SystemZISelLowering.h

index 8535f7a201fb78232d2498217a71c6e611776f9e..70bae07035ddcffd161790537e859b64b534b426 100644 (file)
@@ -4670,6 +4670,7 @@ const char *SystemZTargetLowering::getTargetNodeName(unsigned Opcode) const {
     OPCODE(VISTR_CC);
     OPCODE(VSTRC_CC);
     OPCODE(VSTRCZ_CC);
+    OPCODE(TDC);
     OPCODE(ATOMIC_SWAPW);
     OPCODE(ATOMIC_LOADW_ADD);
     OPCODE(ATOMIC_LOADW_SUB);
@@ -4684,7 +4685,6 @@ const char *SystemZTargetLowering::getTargetNodeName(unsigned Opcode) const {
     OPCODE(ATOMIC_CMP_SWAPW);
     OPCODE(LRV);
     OPCODE(STRV);
-    OPCODE(TDC);
     OPCODE(PREFETCH);
   }
   return nullptr;
index f5a42f092227b0f19e556b7e8237bd315b60ca97..8d21f2282b482974f953831e4224bd2a5131c39f 100644 (file)
@@ -278,6 +278,12 @@ enum NodeType : unsigned {
   VSTRC_CC,
   VSTRCZ_CC,
 
+  // Test Data Class.
+  //
+  // Operand 0: the value to test
+  // Operand 1: the bit mask
+  TDC,
+
   // Wrappers around the inner loop of an 8- or 16-bit ATOMIC_SWAP or
   // ATOMIC_LOAD_<op>.
   //
@@ -324,12 +330,6 @@ enum NodeType : unsigned {
   // Operand 2: the type of store (i16, i32, i64)
   STRV,
 
-  // Test Data Class.
-  //
-  // Operand 0: the value to test
-  // Operand 1: the bit mask
-  TDC,
-
   // Prefetch from the second operand using the 4-bit control code in
   // the first operand.  The code is 1 for a load prefetch and 2 for
   // a store prefetch.