[LLVMdev] [PATCH] Add simple cross-block DSE.

Gianluca Guida glguida at gmail.com
Tue Jan 5 16:58:10 PST 2010


This patch implements cross-block dead store elimination for a simple
scenario -- which was somehow important in my case --, i.e. when a
store has only one memory dependence in a function.

This patch is a bit narrow-minded (e..g, only store instructions are
checked for memory dependencies), but I can always make it more
generic, if you give me pointers *and* my code is correct.


It was a type of people I did not know, I found them very strange and
they did not inspire confidence at all. Later I learned that I had been
introduced to electronic engineers.
                                                  E. W. Dijkstra
-------------- next part --------------
A non-text attachment was scrubbed...
Name: simple-cross-bb-dse.patch
Type: application/octet-stream
Size: 1115 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100106/2d3f0528/attachment.obj>

More information about the llvm-dev mailing list