Skip to content
Commit 7d94c49d authored by Dan Gohman's avatar Dan Gohman
Browse files

Simplify hasNUsesOfValue and hasAnyUsesOfValue even more. This

makes their special-case checks of use_size() less beneficial,
so remove them. This eliminates all but one use of use_size(),
which is in AssignTopologicalOrder, which uses it only once for
each node, and so can reasonably afford to recompute it, as
this allows the UsesSize field of SDNode to be removed
altogether.

llvm-svn: 53377
parent 832e8988
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment