Skip to content

Commit 9ea9e71

Browse files
committed
[TargetLowering] Remove comment above definition of TargetLowering::EmitInstrWithCustomInserter. NFC
This duplicates the documentation from the declaration, but has gotten out of sync. There was a mention of a DenseMap that has been gone for 14 years. Since this declaration is a default implementation of a virtual function, its unlikely to be looked at. Just remove it.
1 parent c00ada0 commit 9ea9e71

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -311,15 +311,6 @@ namespace llvm {
311311

312312
} // end namespace llvm
313313

314-
// EmitInstrWithCustomInserter - This method should be implemented by targets
315-
// that mark instructions with the 'usesCustomInserter' flag. These
316-
// instructions are special in various ways, which require special support to
317-
// insert. The specified MachineInstr is created but not inserted into any
318-
// basic blocks, and this method is called to expand it into a sequence of
319-
// instructions, potentially also creating new basic blocks and control flow.
320-
// When new basic blocks are inserted and the edges from MBB to its successors
321-
// are modified, the method should insert pairs of <OldSucc, NewSucc> into the
322-
// DenseMap.
323314
MachineBasicBlock *
324315
TargetLowering::EmitInstrWithCustomInserter(MachineInstr &MI,
325316
MachineBasicBlock *MBB) const {

0 commit comments

Comments
 (0)