The NOOP instruction is no longer needed. Instead, use the
authorChris Lattner <sabre@nondot.org>
Sun, 3 Aug 2003 18:52:15 +0000 (18:52 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 3 Aug 2003 18:52:15 +0000 (18:52 +0000)
TargetInstrInfo::isNOPinstr method

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

include/llvm/Target/TargetInstrInfo.h

index 604aa59d3db81cfa174ff061f53c5d1e54b11417..cf826a91d38da772db5fed9393cfa2a3aef2bd42 100644 (file)
@@ -93,11 +93,8 @@ public:
                  unsigned numRealOpCodes);
   virtual ~TargetInstrInfo();
 
-  // Invariant: All instruction sets use opcode #0 as the PHI instruction and
-  // opcode #1 as the noop instruction.
-  enum {
-    PHI = 0, NOOP = 1
-  };
+  // Invariant: All instruction sets use opcode #0 as the PHI instruction
+  enum { PHI = 0 };
   
   unsigned getNumRealOpCodes()  const { return numRealOpCodes; }
   unsigned getNumTotalOpCodes() const { return descSize; }