[llvm-commits] CVS: llvm/include/llvm/Target/TargetInstrInfo.h
Jim Laskey
jlaskey at apple.com
Fri Jan 26 06:35:28 PST 2007
Changes in directory llvm/include/llvm/Target:
TargetInstrInfo.h updated: 1.110 -> 1.111
---
Log message:
Make LABEL a builtin opcode.
---
Diffs of the changes: (+2 -8)
TargetInstrInfo.h | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
Index: llvm/include/llvm/Target/TargetInstrInfo.h
diff -u llvm/include/llvm/Target/TargetInstrInfo.h:1.110 llvm/include/llvm/Target/TargetInstrInfo.h:1.111
--- llvm/include/llvm/Target/TargetInstrInfo.h:1.110 Fri Dec 15 00:37:08 2006
+++ llvm/include/llvm/Target/TargetInstrInfo.h Fri Jan 26 08:34:51 2007
@@ -166,7 +166,8 @@
// Invariant opcodes: All instruction sets have these as their low opcodes.
enum {
PHI = 0,
- INLINEASM = 1
+ INLINEASM = 1,
+ LABEL = 2
};
unsigned getNumOpcodes() const { return NumOpcodes; }
@@ -263,13 +264,6 @@
return get(Opcode).getOperandConstraint(OpNum, Constraint);
}
- /// getDWARF_LABELOpcode - Return the opcode of the target's DWARF_LABEL
- /// instruction if it has one. This is used by codegen passes that update
- /// DWARF line number info as they modify the code.
- virtual unsigned getDWARF_LABELOpcode() const {
- return 0;
- }
-
/// Return true if the instruction is a register to register move
/// and leave the source and dest operands in the passed parameters.
virtual bool isMoveInstr(const MachineInstr& MI,
More information about the llvm-commits
mailing list