remove doConstantPropagation and dceInstruction, they are just
authorChris Lattner <sabre@nondot.org>
Thu, 27 Nov 2008 22:57:53 +0000 (22:57 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 27 Nov 2008 22:57:53 +0000 (22:57 +0000)
commit3481f24c06b3c9de48bdd99c37547471ca8e761e
tree749781952c73d7efacd3b6b0c918c3173088629f
parent15678533f3c8baa6664fe9b513b614b8665f29fd
remove doConstantPropagation and dceInstruction, they are just
wrappers around the interesting code and use an obscure iterator
abstraction that dates back many many years.

Move EraseDeadInstructions to Transforms/Utils and name it
RecursivelyDeleteTriviallyDeadInstructions.

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