From 9ca5a2a33e98b0a93dc335a00f4d63aeb9a192b8 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 3 Aug 2003 18:52:15 +0000 Subject: [PATCH] The NOOP instruction is no longer needed. Instead, use the 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 | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h index 604aa59d3db..cf826a91d38 100644 --- a/include/llvm/Target/TargetInstrInfo.h +++ b/include/llvm/Target/TargetInstrInfo.h @@ -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; }