update memdep when an instruction is deleted. This code isn't
authorChris Lattner <sabre@nondot.org>
Tue, 11 Jan 2011 08:19:16 +0000 (08:19 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 11 Jan 2011 08:19:16 +0000 (08:19 +0000)
commit3077ca97bdd4de7e8878e2f8308b6f615b60a470
treee7ab8b7f18b93e683a7d7baa513e2bb16323115b
parentb6810991a9648a40fe05162d744f42c3c178dba7
update memdep when an instruction is deleted.  This code isn't
actually reached in the testcase in PR8954, but it's safe and good
practice.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123224 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/GVN.cpp