Nodes that have no uses are added to the worklist will eventually be
pruned, when they are considered. This is leaves a transient where the
existence of dangling nodes may inhibit some optimizations. This
change records which nodes are added to the worklist and upon
finishing the current DAGCombine visit, immediately checks to see if
they may be pruned.
This generally improves codegen, save in some cases where an extension
is not pulled before an inputs operator. This should be fixed in a
followup patch.