[llvm-commits] [llvm] r46305 - /llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Duncan Sands
baldrick at free.fr
Thu Jan 24 01:05:53 PST 2008
Hi Chris,
> + // 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.
> + for (unsigned i = 0, e = N->getNumOperands(); i != e; ++i)
> + AddToWorkList(N->getOperand(i).Val);
the comment says "if they have a single use", but the operands are added
unconditionally...
Ciao,
Duncan.
More information about the llvm-commits
mailing list