fix a few old bugs (found by inspection) where we would zap instructions
authorChris Lattner <sabre@nondot.org>
Sun, 9 Jan 2011 19:26:10 +0000 (19:26 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 9 Jan 2011 19:26:10 +0000 (19:26 +0000)
commitf42685004c997a4a4728cbcd9e6be1ee1d6b418f
tree86870d977d6fa9c6bc6cd1cf7beb909d493d58a4
parent2cfa5b4934856942c2aaa6e41b67eb367d183fe6
fix a few old bugs (found by inspection) where we would zap instructions
without informing memdep.  This could cause nondeterminstic weirdness
based on where instructions happen to get allocated, and will hopefully
breath some life into some broken testers.

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