From 5fed2e0d170999aeadea8a9aa3708276c45a1602 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Fri, 24 Jul 2015 20:55:31 +0000 Subject: [PATCH] Enable reductions without fassociative-math in graphite 2015-07-24 Tom de Vries * graphite-sese-to-poly.c (build_poly_scop): Always call rewrite_commutative_reductions_out_of_ssa. From-SVN: r226194 --- gcc/ChangeLog | 5 +++++ gcc/graphite-sese-to-poly.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3bd8ff1a869..5a82db059f0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-07-24 Tom de Vries + + * graphite-sese-to-poly.c (build_poly_scop): Always call + rewrite_commutative_reductions_out_of_ssa. + 2015-07-24 Tom de Vries * graphite-sese-to-poly.c (is_reduction_operation_p): Limit diff --git a/gcc/graphite-sese-to-poly.c b/gcc/graphite-sese-to-poly.c index 25cfa17b948..c583f167157 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. */ -- 2.30.2