[llvm-commits] CVS: llvm/include/llvm/Target/TargetInstrInfo.h
Chris Lattner
lattner at cs.uiuc.edu
Mon Aug 4 00:00:32 PDT 2003
Changes in directory llvm/include/llvm/Target:
TargetInstrInfo.h updated: 1.49 -> 1.50
---
Log message:
The NOOP instruction is no longer needed. Instead, use the
TargetInstrInfo::isNOPinstr method
---
Diffs of the changes:
Index: llvm/include/llvm/Target/TargetInstrInfo.h
diff -u llvm/include/llvm/Target/TargetInstrInfo.h:1.49 llvm/include/llvm/Target/TargetInstrInfo.h:1.50
--- llvm/include/llvm/Target/TargetInstrInfo.h:1.49 Tue Jul 29 15:30:20 2003
+++ llvm/include/llvm/Target/TargetInstrInfo.h Sun Aug 3 13:52:15 2003
@@ -93,11 +93,8 @@
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; }
More information about the llvm-commits
mailing list