The NOOP instruction is no longer needed. Instead, use the

TargetInstrInfo::isNOPinstr method

llvm-svn: 7530
This commit is contained in:
Chris Lattner 2003-08-03 18:52:15 +00:00
parent ca60fdd9e8
commit 4c675245b9

View 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; }