[DAGCombiner] Remove unnecessary recursive DAGCombiner::visitINSERT_SUBVECTOR call.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 10 Dec 2018 18:18:50 +0000 (18:18 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 10 Dec 2018 18:18:50 +0000 (18:18 +0000)
commitc73a955370efb71dba96c8c5ca8aed96f4cabf04
treeff31a164d3ce7b8b0c5d1f17bb01e8d31f14c332
parent871f2b65c1bf689d6d94727dcf40709caaba01d9
[DAGCombiner] Remove unnecessary recursive DAGCombiner::visitINSERT_SUBVECTOR call.

As discussed on D55511, this caused an issue if the inner node deletes a node that the outer node depends upon. As it doesn't affect any lit-tests and I've only been able to expose this with the D55511 change I'm committing this now.

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