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.
_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to