]> git.ipfire.org Git - thirdparty/gcc.git/commit
[PATCH] Remove more backedge threading support
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 7 Nov 2015 06:31:14 +0000 (06:31 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 7 Nov 2015 06:31:14 +0000 (06:31 +0000)
commita1965220d5ae62c617abfe40e1dc5c03bb7aa38f
treecb5144235434922e5bf66595e3fa1d3005c73a7a
parent3c7086accbf63ed7fc3381dbea1a84b4d1ce5b6d
[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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229911 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-ssa-threadedge.c