aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-03 18:52:15 +0000
committerChris Lattner <sabre@nondot.org>2003-08-03 18:52:15 +0000
commit9ca5a2a33e98b0a93dc335a00f4d63aeb9a192b8 (patch)
treee38de7d3d00046300b7d87212c54a7fd83ccf5cf /include
parentc66c9b423385a699126f016f8073a6a93a1d07e2 (diff)
downloadexternal_llvm-9ca5a2a33e98b0a93dc335a00f4d63aeb9a192b8.zip
external_llvm-9ca5a2a33e98b0a93dc335a00f4d63aeb9a192b8.tar.gz
external_llvm-9ca5a2a33e98b0a93dc335a00f4d63aeb9a192b8.tar.bz2
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
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetInstrInfo.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h
index 604aa59..cf826a9 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; }