Generalize the SDOperand->SDOperand form of
authorChris Lattner <sabre@nondot.org>
Sun, 3 Feb 2008 03:35:22 +0000 (03:35 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 3 Feb 2008 03:35:22 +0000 (03:35 +0000)
commit11d049c87f49cf273863248d44cda005690515a6
tree72d98689baafccbb738a3c6dc1549c48d06f6c5c
parenta47b9bcbdec16c2fa7cee84e72b5d0a306519a7a
Generalize the SDOperand->SDOperand form of
SelectionDAG::ReplaceAllUsesWith to handle replacement of
an SDOperand with *any* sdoperand, not just one for a node with
a single result.  Note that this has a horrible FIXME'd hack in it
to work around PR1975.  This should be removed when PR1975 is fixed.

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