[llvm-commits] CVS: llvm/include/llvm/Target/TargetInstrInfo.h
Chris Lattner
lattner at cs.uiuc.edu
Sun Mar 5 15:49:04 PST 2006
Changes in directory llvm/include/llvm/Target:
TargetInstrInfo.h updated: 1.83 -> 1.84
---
Log message:
add a hook to insert a noop
---
Diffs of the changes: (+7 -0)
TargetInstrInfo.h | 7 +++++++
1 files changed, 7 insertions(+)
Index: llvm/include/llvm/Target/TargetInstrInfo.h
diff -u llvm/include/llvm/Target/TargetInstrInfo.h:1.83 llvm/include/llvm/Target/TargetInstrInfo.h:1.84
--- llvm/include/llvm/Target/TargetInstrInfo.h:1.83 Thu Feb 2 14:11:55 2006
+++ llvm/include/llvm/Target/TargetInstrInfo.h Sun Mar 5 17:48:51 2006
@@ -273,6 +273,13 @@
return MI;
}
+ /// insertNoop - Insert a noop into the instruction stream at the specified
+ /// point.
+ virtual void insertNoop(MachineBasicBlock &MBB,
+ MachineBasicBlock::iterator MI) const {
+ assert(0 && "Target didn't implement insertNoop!");
+ abort();
+ }
//-------------------------------------------------------------------------
// Code generation support for creating individual machine instructions
More information about the llvm-commits
mailing list