r235905 - in /trunk/gcc: ChangeLog function.c s...
segher@gcc.gnu.org
segher@gcc.gnu.org
Wed May 4 20:57:00 GMT 2016
Author: segher
Date: Wed May 4 20:57:08 2016
New Revision: 235905
URL: https://gcc.gnu.org/viewcvs?rev=235905&root=gcc&view=rev
Log:
shrink-wrap: Remove complicated simple_return manipulations
Now that cfgcleanup knows how to optimize with return statements, the
epilogue insertion code doesn't have to deal with it itself anymore.
* function.c (emit_use_return_register_into_block): Delete.
(gen_return_pattern): Delete.
(emit_return_into_block): Delete.
(active_insn_between): Delete.
(convert_jumps_to_returns): Delete.
(emit_return_for_exit): Delete.
(thread_prologue_and_epilogue_insns): Delete all code dealing with
simple_return for shrink-wrapped blocks.
* shrink-wrap.c (try_shrink_wrapping): Insert simple_return at the
end of blocks that need one.
(get_unconverted_simple_return): Delete.
(convert_to_simple_return): Delete.
* shrink-wrap.c (get_unconverted_simple_return): Delete declaration.
(convert_to_simple_return): Ditto.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/function.c
trunk/gcc/shrink-wrap.c
trunk/gcc/shrink-wrap.h
More information about the Gcc-cvs
mailing list