On Thu, Sep 10, 2015 at 04:22:34PM +0100, Jiong Wang wrote: > > Segher Boessenkool writes: > > > 2015-09-10 Segher Boessenkool <seg...@kernel.crashing.org> > > > > * 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.