diff options
author | Hans Wennborg <hans@hanshq.net> | 2015-03-19 00:02:22 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2015-03-19 00:02:22 +0000 |
commit | 81cfeb19997230fc8b4eefcfbf15b22ecf0b97e1 (patch) | |
tree | 0de20d740a589d4656ac37fb6b7205cfee95394b /llvm/lib/CodeGen/SelectionDAG | |
parent | 7bdd50d2a0b46af9776b48e435b4e722f16fa632 (diff) | |
download | bcm5719-llvm-81cfeb19997230fc8b4eefcfbf15b22ecf0b97e1.tar.gz bcm5719-llvm-81cfeb19997230fc8b4eefcfbf15b22ecf0b97e1.zip |
SelectionDAGIsel: Fix comment about terminators being "handled below".
That changed in r102128.
llvm-svn: 232692
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 103e1e70419..4d2af3fa66e 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -595,9 +595,8 @@ bool SelectionDAGISel::runOnMachineFunction(MachineFunction &mf) { void SelectionDAGISel::SelectBasicBlock(BasicBlock::const_iterator Begin, BasicBlock::const_iterator End, bool &HadTailCall) { - // Lower all of the non-terminator instructions. If a call is emitted - // as a tail call, cease emitting nodes for this block. Terminators - // are handled below. + // Lower the instructions. If a call is emitted as a tail call, cease emitting + // nodes for this block. for (BasicBlock::const_iterator I = Begin; I != End && !SDB->HasTailCall; ++I) SDB->visit(*I); |