Revert "GlobalDCE: Delete available_externally initializers if it allows removing...
authorPete Cooper <peter_cooper@apple.com>
Tue, 8 Jul 2014 17:06:03 +0000 (17:06 +0000)
committerPete Cooper <peter_cooper@apple.com>
Tue, 8 Jul 2014 17:06:03 +0000 (17:06 +0000)
commit54bca0cb098bff81a3e0ab4c41017a0ca8d0b9e3
tree8a7121528c5ef51a346210abd5947fd76fce362c
parentb7fdc7ff16d6a4d4d7e67f2b4a72b47121531717
Revert "GlobalDCE: Delete available_externally initializers if it allows removing the value the initializer is referring to."

This reverts commit 5b55a47e94e28fbb56d0cd5d72c3db9105c15b4c.

A test case was found to crash after this was applied.  I'll file a bug to track fixing this with the test case needed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212550 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/GlobalDCE.cpp
test/Transforms/GlobalDCE/externally_available.ll