[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineInstr.h
Brian Gaeke
gaeke at cs.uiuc.edu
Wed Feb 11 22:02:02 PST 2004
Changes in directory llvm/include/llvm/CodeGen:
MachineInstr.h updated: 1.128 -> 1.129
---
Log message:
Remove these MachineOpCodeFlags and their accessor - they are never set.
---
Diffs of the changes: (+1 -13)
Index: llvm/include/llvm/CodeGen/MachineInstr.h
diff -u llvm/include/llvm/CodeGen/MachineInstr.h:1.128 llvm/include/llvm/CodeGen/MachineInstr.h:1.129
--- llvm/include/llvm/CodeGen/MachineInstr.h:1.128 Wed Feb 11 20:27:10 2004
+++ llvm/include/llvm/CodeGen/MachineInstr.h Wed Feb 11 22:00:55 2004
@@ -33,17 +33,6 @@
typedef int MachineOpCode;
//===----------------------------------------------------------------------===//
-/// Special flags on instructions that modify the opcode.
-/// These flags are unused for now, but having them enforces that some
-/// changes will be needed if they are used.
-///
-enum MachineOpCodeFlags {
- AnnulFlag, /// 1 if annul bit is set on a branch
- PredTakenFlag, /// 1 if branch should be predicted taken
- PredNotTakenFlag /// 1 if branch should be predicted not taken
-};
-
-//===----------------------------------------------------------------------===//
/// MOTy - MachineOperandType - This namespace contains an enum that describes
/// how the machine operand is used by the instruction: is it read, defined, or
/// both? Note that the MachineInstr/Operator class currently uses bool
@@ -389,10 +378,9 @@
///
MachineInstr(MachineBasicBlock *MBB, int Opcode, unsigned numOps);
- /// Accessors for opcode and associated flags.
+ /// Accessors for opcode.
///
const int getOpcode() const { return opCode; }
- unsigned getOpCodeFlags() const { return opCodeFlags; }
/// Access to explicit operands of the instruction.
///
More information about the llvm-commits
mailing list