summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-09-19 10:08:51 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-09-19 10:08:51 +0000
commit0002e506de922b6f8b830674316aa8e5428f7049 (patch)
tree76e91424ee660fc4f4b59f9f0be60b961d40daa9 /include
parent461c87655b89fd44604bf705b68e7541d2b721a7 (diff)
downloadllvm-0002e506de922b6f8b830674316aa8e5428f7049.tar.gz
llvm-0002e506de922b6f8b830674316aa8e5428f7049.tar.bz2
llvm-0002e506de922b6f8b830674316aa8e5428f7049.tar.xz
Update comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82313 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetLowering.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h
index c33d7df627..4f567b0b20 100644
--- a/include/llvm/Target/TargetLowering.h
+++ b/include/llvm/Target/TargetLowering.h
@@ -1440,6 +1440,9 @@ public:
// instructions are special in various ways, which require special support to
// insert. The specified MachineInstr is created but not inserted into any
// basic blocks, and the scheduler passes ownership of it to this method.
+ // When new basic blocks are inserted and the edges from MBB to its successors
+ // are modified, the method should insert pairs of <OldSucc, NewSucc> into the
+ // DenseMap.
virtual MachineBasicBlock *EmitInstrWithCustomInserter(MachineInstr *MI,
MachineBasicBlock *MBB,
DenseMap<MachineBasicBlock*, MachineBasicBlock*> *EM) const;