Never rely on ReplaceAllUsesWith when selecting, use CodeGenMap instead.
authorChris Lattner <sabre@nondot.org>
Thu, 29 Sep 2005 00:59:32 +0000 (00:59 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 29 Sep 2005 00:59:32 +0000 (00:59 +0000)
commitd3d2cf52bbb776941bf8cb03d8732ff3f407cdea
tree98e7574e1619d051ce107fb173b92e7433fd098d
parent79d0e9f3d1c9c88ee301a0551b60f6aa8cadb48f
Never rely on ReplaceAllUsesWith when selecting, use CodeGenMap instead.
ReplaceAllUsesWith does not replace scalars SDOperand floating around on
the stack, permitting things to be selected multiple times.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23515 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelDAGToDAG.cpp