Author: lattner Date: Thu Jan 24 11:10:01 2008 New Revision: 46313 URL: http://llvm.org/viewvc/llvm-project?rev=46313&view=rev Log: clarify a comment, thanks Duncan.
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Modified: llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp?rev=46313&r1=46312&r2=46313&view=diff ============================================================================== --- llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp (original) +++ llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Thu Jan 24 11:10:01 2008 @@ -607,8 +607,9 @@ AddToWorkList(RV.Val); AddUsersToWorkList(RV.Val); - // Add any uses of the old node to the worklist if they have a single - // use. They may be dead after this node is deleted. + // Add any uses of the old node to the worklist in case this node is the + // last one that uses them. They may become dead after this node is + // deleted. for (unsigned i = 0, e = N->getNumOperands(); i != e; ++i) AddToWorkList(N->getOperand(i).Val); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits