[DAG] Prune deleted nodes in TokenFactor
authorNirav Dave <niravd@google.com>
Tue, 16 May 2017 15:49:02 +0000 (15:49 +0000)
committerNirav Dave <niravd@google.com>
Tue, 16 May 2017 15:49:02 +0000 (15:49 +0000)
commitcfd357a61a96b83356db0b5b3021ce60eaf1f1cb
treebf06f10827bccec83713615717d2b83dcb1f036e
parente133140fd1e5ea3a5bcadc3e594e1b613c36d9c5
[DAG] Prune deleted nodes in TokenFactor

Fix visitTokenFactor to correctly remove deleted nodes. NFC.

llvm-svn: 303181
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp