make various clients of ReplaceAndSimplifyAllUses tolerate
authorChris Lattner <sabre@nondot.org>
Thu, 15 Jul 2010 06:06:04 +0000 (06:06 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 15 Jul 2010 06:06:04 +0000 (06:06 +0000)
commit35a939b97dba538bfc12010b7ac26bffbf5ec4cb
treeed560bc6c98ac07fc048c24e8e025f92e92f13f4
parent75a5b712086802daacf8bb646ffe9f8f72602670
make various clients of ReplaceAndSimplifyAllUses tolerate
it *changing* the things it replaces, not just causing them
to drop to null.  There is no functionality change yet, but
this is required for a subsequent patch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108414 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/Local.cpp