]> git.ipfire.org Git - thirdparty/gcc.git/commit
Reorganize the analysis of basic block predication.
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 May 2010 16:46:59 +0000 (16:46 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 May 2010 16:46:59 +0000 (16:46 +0000)
commit60e0f7c43c3e98797fd79d7b706d7a68794507d3
tree4125a7ce634951430f71f1dd0fd39dc48e9795f9
parent01c40c0ba32353e9954a265254ce3f67d91cb977
Reorganize the analysis of basic block predication.

2010-05-26  Sebastian Pop  <sebastian.pop@amd.com>

* tree-if-conv.c (add_to_dst_predicate_list): Do not pass a statemet
iterator in parameter.  Do not generate code during the analysis.
(tree_if_convert_cond_stmt): Removed.
(tree_if_convert_stmt): Removed.
(predicate_bbs): New.
(if_convertible_loop_p): Call predicate_bbs.
(tree_if_conversion): Simplify the top-level logic as predicate_bbs
now contains all the analysis part.

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