OSDN Git Service

Revert r338222 "[DAGCombiner] Remove unnecessary calls to AddToWorklist."
authorCraig Topper <craig.topper@intel.com>
Mon, 30 Jul 2018 20:27:10 +0000 (20:27 +0000)
committerCraig Topper <craig.topper@intel.com>
Mon, 30 Jul 2018 20:27:10 +0000 (20:27 +0000)
commit3e5ff18867136e3c47a9725666e9583d2376cae9
treeb73a5277e75622d76bd7fbfe70cddf37968ea6b9
parentaec199b9d76a4b2f841a01d02da9c89ed91aa25a
Revert r338222 "[DAGCombiner] Remove unnecessary calls to AddToWorklist."

Thinking about it more it might be possible for the later nodes to be folded in getNode in such a way that the other created nodes are left dead. This can cause use counts to be incorrect on nodes that aren't dead.

So its probably safer to leave this alone.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@338298 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp