projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cc3f0a
)
add a hook to insert a noop
author
Chris Lattner
<sabre@nondot.org>
Sun, 5 Mar 2006 23:48:51 +0000
(23:48 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 5 Mar 2006 23:48:51 +0000
(23:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26560
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Target/TargetInstrInfo.h
patch
|
blob
|
history
diff --git
a/include/llvm/Target/TargetInstrInfo.h
b/include/llvm/Target/TargetInstrInfo.h
index 29ec213c931fdab6165fcffdaa6baed1c8b01a35..36f4b5559a03cac7311f35b9f434372675963fd6 100644
(file)
--- a/
include/llvm/Target/TargetInstrInfo.h
+++ b/
include/llvm/Target/TargetInstrInfo.h
@@
-273,6
+273,13
@@
public:
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