[PATCH 2/2] shrink-wrap: Rewrite try_shrink_wrapping

Segher Boessenkool segher@kernel.crashing.org
Thu Sep 10 16:21:00 GMT 2015


On Thu, Sep 10, 2015 at 10:41:53AM -0500, Segher Boessenkool wrote:
> > >         * shrink-wrap.c (requires_stack_frame_p): Fix formatting.
> > >         (dup_block_and_redirect): Delete function.
> > >         (can_dup_for_shrink_wrapping): New function.
> > >         (fix_fake_fallthrough_edge): New function.
> > >         (try_shrink_wrapping): Rewrite function.
> > >         (convert_to_simple_return): Call fix_fake_fallthrough_edge.
> > 
> > I am interested in the impact on AArch64, but the patch attached can't
> > apply on trunk cleanly after I apply your [1/2], the .rej is quite big.
> 
> I rebased it to trunk only yesterday.   Huh.  I'll have a look.

The patch (taken from the email) applies to trunk just fine for me,
both using git-am and patch.


Segher



More information about the Gcc-patches mailing list