[llvm] r232692 - SelectionDAGIsel: Fix comment about terminators being "handled below".
Hans Wennborg
hans at hanshq.net
Wed Mar 18 17:02:23 PDT 2015
Author: hans
Date: Wed Mar 18 19:02:22 2015
New Revision: 232692
URL: http://llvm.org/viewvc/llvm-project?rev=232692&view=rev
Log:
SelectionDAGIsel: Fix comment about terminators being "handled below".
That changed in r102128.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp?rev=232692&r1=232691&r2=232692&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp Wed Mar 18 19:02:22 2015
@@ -595,9 +595,8 @@ bool SelectionDAGISel::runOnMachineFunct
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);
More information about the llvm-commits
mailing list