[llvm-commits] Patch to delete PHI nodes with multiple uses

Andrew Clinton ajclinto at gmail.com
Sun Feb 20 07:54:27 PST 2011


Yes, I thought that "areAllUsesEqualAndHasAtLeastOneUse" was too
verbose.  Actually I was wondering why the instruction even needs
multiple use entries in this case - why not collapse it to a single
entry?  That would have made this change unnecessary.

Andrew

On Sun, Feb 20, 2011 at 3:50 AM, Duncan Sands <baldrick at free.fr> wrote:
> Hi Andrew, AreAllUsesEqual returns false if there are no uses, but if there
> are no uses then indeed all uses are equal (show me two that differ!).
>
> Ciao, Duncan.
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>



More information about the llvm-commits mailing list