[llvm-commits] patch: smarter DSE

Owen Anderson resistor at mac.com
Mon Oct 31 10:23:49 PDT 2011


Nick,

Isn't what you're computing here an approximation of immediate post-dominance?  If we really want to handle this properly, it seems like we should just use the actual post-dominance computation rather than approximating it.

--Owen

On Oct 31, 2011, at 1:54 AM, Nick Lewycky wrote:

> This patch teaches DSE to look for blocks that will unconditionally land in the particular free call, when handling a call to free. This is important for std::vector, see PR11240.
> 
> Please review!
> 
> Nick
> <pr11240-1.patch>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list