I was confused about this, it turns out that MorphNodeTo
authorChris Lattner <sabre@nondot.org>
Tue, 2 Mar 2010 07:14:49 +0000 (07:14 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 2 Mar 2010 07:14:49 +0000 (07:14 +0000)
commit61c97f693216670cda554d287cd871fdea1b36f9
treef0ad985f9f00fb0121e70eeb53516e80def1f39d
parent3ff1e4db7896a8ccec74800d52a926118d025260
I was confused about this, it turns out that MorphNodeTo
*does* delete ex-operands that become dead.

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