[PATCH] Remove backedge handling support in tree-ssa-threadupdate.c
authorJeff Law <law@redhat.com>
Mon, 9 Nov 2015 03:19:09 +0000 (20:19 -0700)
committerJeff Law <law@gcc.gnu.org>
Mon, 9 Nov 2015 03:19:09 +0000 (20:19 -0700)
commit4f70cb39c0032dee5caf7b0851556959649895ff
tree6acb9b6d64e5f982bef27de238285e95f827c2d7
parenta2478e36e045c2e19f6cb59b5b0350298306d9bb
[PATCH] Remove backedge handling support in tree-ssa-threadupdate.c

* tree-ssa-threadupdate.c (register_jump_thraed): Assert that a
non-FSM path has no edges marked with EDGE_DFS_BACK.
(ssa_redirect_edges): No longer call mark_loop_for_removal.
(thread_single_edge, def_split_header_continue_p): Remove.
(bb_ends_with_multiway_branch): Likewise.
(thread_through_loop_header): Remove cases of threading from
latch through the header.  Simplify knowing we won't thread
the latch.
(thread_through_all_blocks): Simplify knowing that only the FSM
threader needs to handle backedges.

From-SVN: r229982
gcc/ChangeLog
gcc/tree-ssa-threadupdate.c