Fix these enums' starting values to reflect the way that
authorDan Gohman <gohman@apple.com>
Tue, 23 Sep 2008 18:42:32 +0000 (18:42 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 23 Sep 2008 18:42:32 +0000 (18:42 +0000)
instruction opcodes are now numbered. No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56497 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMISelLowering.h
lib/Target/Alpha/AlphaISelLowering.h
lib/Target/CellSPU/SPUISelLowering.h
lib/Target/IA64/IA64ISelLowering.h
lib/Target/Mips/MipsISelLowering.h
lib/Target/PIC16/PIC16ISelLowering.h
lib/Target/PowerPC/PPCISelLowering.h
lib/Target/Sparc/SparcISelLowering.h
lib/Target/X86/X86ISelLowering.h

index b717e0d73cba39b112017a1d1cfa3092deadac47..8408cc527abc9254c60d4e0fec1715e2dce5bdb2 100644 (file)
@@ -27,7 +27,7 @@ namespace llvm {
     // ARM Specific DAG Nodes
     enum NodeType {
       // Start the numbering where the builting ops and target ops leave off.
-      FIRST_NUMBER = ISD::BUILTIN_OP_END+ARM::INSTRUCTION_LIST_END,
+      FIRST_NUMBER = ISD::BUILTIN_OP_END,
 
       Wrapper,      // Wrapper - A wrapper node for TargetConstantPool,
                     // TargetExternalSymbol, and TargetGlobalAddress.
index 770dde33c80a264749ef8c2e86776895c599e324..6a8196245ca2e71530af4a6bf02e1999375e64ef 100644 (file)
@@ -25,7 +25,7 @@ namespace llvm {
   namespace AlphaISD {
     enum NodeType {
       // Start the numbering where the builting ops and target ops leave off.
-      FIRST_NUMBER = ISD::BUILTIN_OP_END+Alpha::INSTRUCTION_LIST_END,
+      FIRST_NUMBER = ISD::BUILTIN_OP_END,
       //These corrospond to the identical Instruction
       CVTQT_, CVTQS_, CVTTQ_,
 
index 814c9ba97a1865cbd0ca7d7b5bf4b7e3fca6bf2c..3c09d9f467ea8adae7893ecd9502f25b91fcee8e 100644 (file)
@@ -23,7 +23,7 @@ namespace llvm {
   namespace SPUISD {
     enum NodeType {
       // Start the numbering where the builting ops and target ops leave off.
-      FIRST_NUMBER = ISD::BUILTIN_OP_END+SPU::INSTRUCTION_LIST_END,
+      FIRST_NUMBER = ISD::BUILTIN_OP_END,
       
       // Pseudo instructions:
       RET_FLAG,                 ///< Return with flag, matched by bi instruction
index b7508f79c3c5d7d69aacbf3d1391ee88bc998a18..bce7ce788d9e353149f92e22a1e6065500688dff 100644 (file)
@@ -23,7 +23,7 @@ namespace llvm {
   namespace IA64ISD {
     enum NodeType {
       // Start the numbering where the builting ops and target ops leave off.
-      FIRST_NUMBER = ISD::BUILTIN_OP_END+IA64::INSTRUCTION_LIST_END,
+      FIRST_NUMBER = ISD::BUILTIN_OP_END,
 
       /// GETFD - the getf.d instruction takes a floating point operand and
       /// returns its 64-bit memory representation as an i64
index fd595c9464ed61407ba07e58c0fc636da679c4c5..b19ce58d2b37bbbed7af7399df91a196c6233ca6 100644 (file)
@@ -24,7 +24,7 @@ namespace llvm {
   namespace MipsISD {
     enum NodeType {
       // Start the numbering from where ISD NodeType finishes.
-      FIRST_NUMBER = ISD::BUILTIN_OP_END+Mips::INSTRUCTION_LIST_END,
+      FIRST_NUMBER = ISD::BUILTIN_OP_END,
 
       // Jump and link (call)
       JmpLink,
index c31d3444cde2085948052b2fdcbe3b89bccc1cbc..e14a0c2cb3c6236dc4df8bcb7ea4bcf70c4d3a34 100644 (file)
@@ -24,7 +24,7 @@ namespace llvm {
   namespace PIC16ISD {
     enum NodeType {
       // Start the numbering from where ISD NodeType finishes.
-      FIRST_NUMBER = ISD::BUILTIN_OP_END+PIC16::INSTRUCTION_LIST_END,
+      FIRST_NUMBER = ISD::BUILTIN_OP_END,
 
       // used for encapsulating the expanded nodes into one node.
       Package,
index e514e0fff64af3e81d6974e4cdad7fea4f913c35..c0c22247ed76b48cbb19ce9a86ed404cc601bdfe 100644 (file)
@@ -24,7 +24,7 @@ namespace llvm {
   namespace PPCISD {
     enum NodeType {
       // Start the numbering where the builtin ops and target ops leave off.
-      FIRST_NUMBER = ISD::BUILTIN_OP_END+PPC::INSTRUCTION_LIST_END,
+      FIRST_NUMBER = ISD::BUILTIN_OP_END,
 
       /// FSEL - Traditional three-operand fsel node.
       ///
index ac3a7c0027d897204e0288f56e7c57dec48bf694..d71f51c6e6c6577194ee3d334dead5a7c63bc20b 100644 (file)
@@ -21,7 +21,7 @@
 namespace llvm {
   namespace SPISD {
     enum {
-      FIRST_NUMBER = ISD::BUILTIN_OP_END+SP::INSTRUCTION_LIST_END,
+      FIRST_NUMBER = ISD::BUILTIN_OP_END,
       CMPICC,      // Compare two GPR operands, set icc.
       CMPFCC,      // Compare two FP operands, set fcc.
       BRICC,       // Branch to dest on icc condition
index 221276743a59861d3f24e7c0086d0d0de5b429db..96d829c583eb7806ff4a898fcf1fc4d6dd63b842 100644 (file)
@@ -28,7 +28,7 @@ namespace llvm {
     // X86 Specific DAG Nodes
     enum NodeType {
       // Start the numbering where the builtin ops leave off.
-      FIRST_NUMBER = ISD::BUILTIN_OP_END+X86::INSTRUCTION_LIST_END,
+      FIRST_NUMBER = ISD::BUILTIN_OP_END,
 
       /// BSF - Bit scan forward.
       /// BSR - Bit scan reverse.