On 06/25/14 08:06, Richard Biener wrote:

This removes prematurely killing loops during jump threading
and moves it to a spot where we know we didn't cancel the
jump thread.

Bootstrapped on x86_64-unknown-linux-gnu, testing in progress.

Ok?

Thanks,
Richard.

2014-06-25  Richard Biener  <rguent...@suse.de>

        PR tree-optimization/61607
        * tree-ssa-threadupdate.c (ssa_redirect_edges): Cancel the
        loop if we redirected its latch edge.
        (thread_block_1): Do not cancel loops prematurely.
This is fine. Looking at how often we prematurely cancel loops has been on my todo list for a while. Thanks for taking care of it.

jeff

Reply via email to