diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 00fc3aa7dae..74d6a2a8705 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -3998,7 +3998,6 @@ SDNode *SelectionDAG::MorphNodeTo(SDNode *N, unsigned Opc, N->OperandList[i].setUser(N); SDNode *ToUse = N->OperandList[i].getVal(); ToUse->addUser(i, N); - DeadNodeSet.erase(ToUse); } // Delete any nodes that are still dead after adding the uses for the