OSDN Git Service

Update comments.
authorEvan Cheng <evan.cheng@apple.com>
Sat, 19 Sep 2009 10:08:51 +0000 (10:08 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sat, 19 Sep 2009 10:08:51 +0000 (10:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82313 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetLowering.h

index c33d7df..4f567b0 100644 (file)
@@ -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;