diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2015-09-15 02:38:21 +0200 |
---|---|---|
committer | Segher Boessenkool <segher@gcc.gnu.org> | 2015-09-15 02:38:21 +0200 |
commit | 23997c53b8f7696d6ba484913835b19287f96f82 (patch) | |
tree | d9a541717d4670d10789ddcd410d796e10b6f89c /gcc/tree-ssa-loop-ivopts.c | |
parent | 311adabec523e8ad99930cd2e24716098ed77fc7 (diff) | |
download | gcc-23997c53b8f7696d6ba484913835b19287f96f82.zip gcc-23997c53b8f7696d6ba484913835b19287f96f82.tar.gz gcc-23997c53b8f7696d6ba484913835b19287f96f82.tar.bz2 |
shrink-wrap: Rewrite
This patch rewrites the shrink-wrapping algorithm, allowing non-linear
pieces of CFG to be duplicated for use without prologue instead of just
linear pieces.
* 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.
From-SVN: r227775
Diffstat (limited to 'gcc/tree-ssa-loop-ivopts.c')
0 files changed, 0 insertions, 0 deletions