Remove dead instructions before Redoing
authorAditya Nandakumar <aditya_nandakumar@apple.com>
Mon, 4 Jan 2016 19:48:14 +0000 (19:48 +0000)
committerAditya Nandakumar <aditya_nandakumar@apple.com>
Mon, 4 Jan 2016 19:48:14 +0000 (19:48 +0000)
Before reevaluating instructions, iterate over all instructions
to be reevaluated and remove trivially dead instructions and if
any of it's operands become trivially dead, mark it for deletion
until all trivially dead instructions have been removed

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256773 91177308-0d34-0410-b5e6-96231b3b80d8


No differences found