Catch attempts to remove a deleted node from the CSE maps. Better to
authorDuncan Sands <baldrick@free.fr>
Sun, 12 Dec 2010 13:22:50 +0000 (13:22 +0000)
committerDuncan Sands <baldrick@free.fr>
Sun, 12 Dec 2010 13:22:50 +0000 (13:22 +0000)
commita30b7d2c707b5720691f7aea0652e37bd333d3af
treeef6c0a032cb60a1788b079d82afab408a8a0b0ad
parent71388636034f28d4c97a36e0e9e937960761e8de
Catch attempts to remove a deleted node from the CSE maps.  Better to
catch this here rather than later after accessing uninitialized memory
etc.  Fires when compiling the testcase in PR8237.

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