From 729bec89bd8c4368a741359fb882967ce01a6909 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Sun, 13 Nov 2011 11:34:55 +0000 Subject: Add a missing doxygen comment for a helper method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144497 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/MachineBlockPlacement.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/CodeGen/MachineBlockPlacement.cpp') diff --git a/lib/CodeGen/MachineBlockPlacement.cpp b/lib/CodeGen/MachineBlockPlacement.cpp index 3eb2998116..ec0877fc05 100644 --- a/lib/CodeGen/MachineBlockPlacement.cpp +++ b/lib/CodeGen/MachineBlockPlacement.cpp @@ -275,6 +275,12 @@ static std::string getBlockNum(MachineBasicBlock *BB) { } #endif +/// \brief Mark a chain's successors as having one fewer preds. +/// +/// When a chain is being merged into the "placed" chain, this routine will +/// quickly walk the successors of each block in the chain and mark them as +/// having one fewer active predecessor. It also adds any successors of this +/// chain which reach the zero-predecessor state to the worklist passed in. void MachineBlockPlacement::markChainSuccessors( BlockChain &Chain, MachineBasicBlock *LoopHeaderBB, -- cgit v1.2.3