From eb4ec3aea58b2902f9c2bd9c26aff6ec9fad365b Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Sun, 13 Nov 2011 11:34:55 +0000 Subject: [PATCH] Add a missing doxygen comment for a helper method. llvm-svn: 144497 --- llvm/lib/CodeGen/MachineBlockPlacement.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/llvm/lib/CodeGen/MachineBlockPlacement.cpp b/llvm/lib/CodeGen/MachineBlockPlacement.cpp index 3eb2998116d0..ec0877fc0557 100644 --- a/llvm/lib/CodeGen/MachineBlockPlacement.cpp +++ b/llvm/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,