HomePhabricator

Revert "[DAGCombiner] avoid unnecessary indirection from SDNode/SDValue; NFCI"

Authored by t.p.northover on Jun 4 2020, 3:15 AM.

Description

Revert "[DAGCombiner] avoid unnecessary indirection from SDNode/SDValue; NFCI"

This reverts commit 21dadd774f56778ef68c1ce307205dfbdacc793a.

In at least PromoteIntBinOps, they wanted to know about users of *all* values
produced by the node not just the integer being promoted. For example not
replacing chain users if the operation was a load breaks the ordering of the
DAG.