diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-11-13 11:34:55 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-11-13 11:34:55 +0000 |
commit | 729bec89bd8c4368a741359fb882967ce01a6909 (patch) | |
tree | 7a144c3e315c6c9ea22afc342f52c4e93a3837ca /lib/CodeGen/MachineBlockPlacement.cpp | |
parent | 9fd4e056e433b286f0e6576046ef2242365bfc38 (diff) |
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
Diffstat (limited to 'lib/CodeGen/MachineBlockPlacement.cpp')
-rw-r--r-- | lib/CodeGen/MachineBlockPlacement.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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, |