summaryrefslogtreecommitdiffstats
path: root/llvm
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
commit1c69c47b23da1c34f3c18b0309a6dee8129074b4 (patch)
treeadc7763ff7118be560bb3592c57500e634948383 /llvm
parent543d9b2fba6e9b4ebf296ebaecd4ca74e41b3709 (diff)
downloadbcm5719-llvm-1c69c47b23da1c34f3c18b0309a6dee8129074b4.tar.gz
bcm5719-llvm-1c69c47b23da1c34f3c18b0309a6dee8129074b4.zip
Update comments.
llvm-svn: 82313
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Target/TargetLowering.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/include/llvm/Target/TargetLowering.h b/llvm/include/llvm/Target/TargetLowering.h
index c33d7df627c..4f567b0b203 100644
--- a/llvm/include/llvm/Target/TargetLowering.h
+++ b/llvm/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;
OpenPOWER on IntegriCloud