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 | eb4ec3aea58b2902f9c2bd9c26aff6ec9fad365b (patch) | |
| tree | 0d43ca7b7b6be198bb63597c2de3512906bc8c49 /llvm/lib/CodeGen/MachineBlockPlacement.cpp | |
| parent | b336172f90d942e489fcbac71f6995d41896369b (diff) | |
| download | bcm5719-llvm-eb4ec3aea58b2902f9c2bd9c26aff6ec9fad365b.tar.gz bcm5719-llvm-eb4ec3aea58b2902f9c2bd9c26aff6ec9fad365b.zip | |
Add a missing doxygen comment for a helper method.
llvm-svn: 144497
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/MachineBlockPlacement.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachineBlockPlacement.cpp b/llvm/lib/CodeGen/MachineBlockPlacement.cpp index 3eb2998116d..ec0877fc055 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, |

