commit | 3c91dc3b095552a64df3961b41a3caf6ebca57d3 | [log] [tgz] |
---|---|---|
author | Aditya Nandakumar <aditya_nandakumar@apple.com> | Mon Jan 04 19:48:14 2016 +0000 |
committer | Aditya Nandakumar <aditya_nandakumar@apple.com> | Mon Jan 04 19:48:14 2016 +0000 |
tree | 0593d6a7515250963815d96b81204bfbac5f1149 | |
parent | 8c5b0b157eace81caa0bc7d2fb3f8edc1b172a2c [diff] |
Remove dead instructions before Redoing 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