* tree-ssa-loop.c (gate_tree_complete_unroll): Run complete
unrolling if -fpeel-loops is specified, too.
* tree-ssa-loop-ivcanon.c (try_unroll_loop_completely):
Remove superfluous check for flag_unroll_loops.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96808
138bc75d-0d04-0410-961f-
82ee72b054a4
+2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
+
+ * tree-ssa-loop.c (gate_tree_complete_unroll): Run complete
+ unrolling if -fpeel-loops is specified, too.
+ * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely):
+ Remove superfluous check for flag_unroll_loops.
+
2005-03-21 Uros Bizjak <uros@kss-loka.si>
* optabs.h (enum optab_index): Add new OTI_lrint and OTI_llrint.
if (n_unroll)
{
- if (!flag_unroll_loops)
- return false;
-
old_cond = COND_EXPR_COND (cond);
COND_EXPR_COND (cond) = dont_exit;
modify_stmt (cond);
static bool
gate_tree_complete_unroll (void)
{
- return flag_unroll_loops != 0;
+ return flag_peel_loops || flag_unroll_loops;
}
struct tree_opt_pass pass_complete_unroll =