Enable reductions without fassociative-math in graphite
authorvries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Jul 2015 20:55:31 +0000 (20:55 +0000)
committervries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Jul 2015 20:55:31 +0000 (20:55 +0000)
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226194 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/graphite-sese-to-poly.c

index 3bd8ff1..5a82db0 100644 (file)
@@ -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.
index 25cfa17..c583f16 100644 (file)
@@ -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.  */