[llvm-commits] [llvm] r82313 - /llvm/trunk/include/llvm/Target/TargetLowering.h
Evan Cheng
evan.cheng at apple.com
Sat Sep 19 03:08:52 PDT 2009
Author: evancheng
Date: Sat Sep 19 05:08:51 2009
New Revision: 82313
URL: http://llvm.org/viewvc/llvm-project?rev=82313&view=rev
Log:
Update comments.
Modified:
llvm/trunk/include/llvm/Target/TargetLowering.h
Modified: llvm/trunk/include/llvm/Target/TargetLowering.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetLowering.h?rev=82313&r1=82312&r2=82313&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetLowering.h (original)
+++ llvm/trunk/include/llvm/Target/TargetLowering.h Sat Sep 19 05:08:51 2009
@@ -1440,6 +1440,9 @@
// 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;
More information about the llvm-commits
mailing list