[llvm-commits] [PATCH] Attempt to DSE non-local stores

Török Edwin edwintorok at gmail.com
Wed Jun 17 13:58:11 PDT 2009


On 2009-06-17 21:46, Török Edwin wrote:
> Hi,
>
> I realised that DSE wasn't actually deleting stores that were really
> dead (no loads/stores from pointer), but only deleted redundant stores (
> when there was a second load/store from same pointer).
>
> DeadStoreElimination also has a comment :// FIXME: cross-block DSE would
> be fun. :)
>
> The attached patch is a small, incremental improvement:
>   

Please ignore the patch.
After discussing with resistor on IRC I realised that I need a reverse
Memdep, not a direct MemDep.

I'll rethink.

Best regards,
--Edwin



More information about the llvm-commits mailing list