SelectionDAGIsel: Fix comment about terminators being "handled below".
authorHans Wennborg <hans@hanshq.net>
Thu, 19 Mar 2015 00:02:22 +0000 (00:02 +0000)
committerHans Wennborg <hans@hanshq.net>
Thu, 19 Mar 2015 00:02:22 +0000 (00:02 +0000)
That changed in r102128.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232692 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

index 103e1e70419ebd8d50624153485d0b814be31795..4d2af3fa66ed49aa012147228305ce114f182701 100644 (file)
@@ -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);