[PATCH] Remove dangling BlockAddresses in GlobalDCE

Rafael Espíndola rafael.espindola at gmail.com
Fri Aug 22 11:44:23 PDT 2014


It seems a bit odd this always tries to cleanup constants, not just
when the pass itself deletes a use of a constant.

Wouldn't something like the attached patch be all that is needed?


On 22 August 2014 13:55, Rafael Ávila de Espíndola
<rafael.espindola at gmail.com> wrote:
> One sec, let me review the code itself now that I understand the test :-)
>
> http://reviews.llvm.org/D4932
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: text/x-patch
Size: 1471 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140822/1d7bb3bf/attachment.bin>


More information about the llvm-commits mailing list