summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Muellner <christoph.muellner@theobroma-systems.com>2018-10-15 12:29:28 +0200
committerChristoph Muellner <christoph.muellner@theobroma-systems.com>2018-10-17 23:23:27 +0200
commit6a71ac8910553760163c3da559558469e517f7f5 (patch)
treeb1ecde53fa6e2670e24ae52fb52bde8b9e9ea01e
parentd201b78a412e693d2d655ac6158ee9378055a013 (diff)
Revert "tree-predcom: Do more unrolling if -fnoalias flag is set."
This reverts commit 3df45c222875f9edb98342cf1fcdf92edb2850b2. Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
-rw-r--r--gcc/tree-predcom.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/gcc/tree-predcom.c b/gcc/tree-predcom.c
index 6145583197fe..a2bb6763e524 100644
--- a/gcc/tree-predcom.c
+++ b/gcc/tree-predcom.c
@@ -2568,15 +2568,6 @@ tree_predictive_commoning_loop (struct loop *loop)
edge exit;
bitmap tmp_vars;
- unroll_factor = 4;
- unroll = can_unroll_loop_p (loop, unroll_factor, &desc);
- exit = single_dom_exit (loop);
-
- if (unroll && noalias != 0)
- {
- tree_unroll_loop (loop, unroll_factor, exit, &desc);
- }
-
if (dump_file && (dump_flags & TDF_DETAILS))
fprintf (dump_file, "Processing loop %d\n", loop->num);
@@ -2659,7 +2650,7 @@ tree_predictive_commoning_loop (struct loop *loop)
/* Execute the predictive commoning transformations, and possibly unroll the
loop. */
- if (unroll && noalias == 0)
+ if (unroll)
{
struct epcc_data dta;
@@ -2725,8 +2716,6 @@ tree_predictive_commoning (void)
}
free_original_copy_tables ();
- ret = TODO_cleanup_cfg;
-
return ret;
}