aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/graphite-sese-to-poly.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3bd8ff1..5a82db0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2015-07-24 Tom de Vries <tom@codesourcery.com>
+ * graphite-sese-to-poly.c (build_poly_scop): Always call
+ rewrite_commutative_reductions_out_of_ssa.
+
+2015-07-24 Tom de Vries <tom@codesourcery.com>
+
* graphite-sese-to-poly.c (is_reduction_operation_p): Limit
flag_associative_math to FLOAT_TYPE_P. Honour
TYPE_OVERFLOW_WRAPS for INTEGRAL_TYPE_P. Don't allow any other types.
diff --git a/gcc/graphite-sese-to-poly.c b/gcc/graphite-sese-to-poly.c
index 25cfa17..c583f16 100644
--- a/gcc/graphite-sese-to-poly.c
+++ b/gcc/graphite-sese-to-poly.c
@@ -3156,8 +3156,7 @@ build_poly_scop (scop_p scop)
if (!scop_ivs_can_be_represented (scop))
return;
- if (flag_associative_math)
- rewrite_commutative_reductions_out_of_ssa (scop);
+ rewrite_commutative_reductions_out_of_ssa (scop);
build_sese_loop_nests (region);
/* Record all conditions in REGION. */