[PATCH] Remove more backedge threading support
authorJeff Law <law@redhat.com>
Sat, 7 Nov 2015 06:31:14 +0000 (23:31 -0700)
committerJeff Law <law@gcc.gnu.org>
Sat, 7 Nov 2015 06:31:14 +0000 (23:31 -0700)
commit88419b5295091e664e993fc6d981b3fb149a3e7b
treecb5144235434922e5bf66595e3fa1d3005c73a7a
parent0473915e63175064c9b6c739841bc670c782cdbd
[PATCH] Remove more backedge threading support

* tree-ssa-threadedge.c (dummy_simplify): Remove.
(thread_around_empty_blocks): Remove backedge_seen_p argument.
If we thread to a backedge, then return false.  Update recursive
call to eliminate backedge_seen_p argument.
(thread_through_normal_block): Remove backedge_seen_p argument.
Remove backedge_seen_p argument from calls to
thread_around_empty_blocks.  Remove checks on backedge_seen_p.
If we thread to a backedge, then return 0.
(thread_across_edge): Remove bookkeeping for backedge_seen.  Don't
pass it to thread_through_normal_block or thread_through_empty_blocks.
For joiner handling, if we see a backedge, do not try normal
threading.

From-SVN: r229911
gcc/ChangeLog
gcc/tree-ssa-threadedge.c