Fix SDNode::MorphNodeTo (a function used by by SelectNodeTo) to
authorDan Gohman <gohman@apple.com>
Mon, 7 Jul 2008 20:57:48 +0000 (20:57 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 7 Jul 2008 20:57:48 +0000 (20:57 +0000)
commit0fe9c6e7babb3c0731d9cb864ec498ec4184760f
tree379b6151e0b3a8c3be5b8bdb20de1afe162eaead
parentce42e404a26454f4332c2c350c75ad27bbbb16f7
Fix SDNode::MorphNodeTo (a function used by by SelectNodeTo) to
properly track dead nodes that are on the original SDNode's operand
list but not the new one, and have no other uses.

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