]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Early return in rewrite_commutative_reductions_out_of_ssa when flag_associative_math...
authorSebastian Pop <sebastian.pop@amd.com>
Wed, 11 Aug 2010 20:25:27 +0000 (20:25 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Wed, 11 Aug 2010 20:25:27 +0000 (20:25 +0000)
2010-06-23  Sebastian Pop  <sebastian.pop@amd.com>

* graphite-sese-to-poly.c (rewrite_commutative_reductions_out_of_ssa):
Early return in when flag_associative_math is not set.

From-SVN: r163125

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

index 3e634e76a615a15c00e8c5750c7b9102833155cd..71caf5be137dd5ad39e10c005a5acc20d2287af3 100644 (file)
@@ -1,3 +1,8 @@
+2010-08-02  Sebastian Pop  <sebastian.pop@amd.com>
+
+       * graphite-sese-to-poly.c (rewrite_commutative_reductions_out_of_ssa):
+       Early return in when flag_associative_math is not set.
+
 2010-08-02  Sebastian Pop  <sebastian.pop@amd.com>
 
        * graphite-sese-to-poly.c (rewrite_phi_out_of_ssa): Always insert out
index abeda2a42e9c919fd6fa0649101b65718c06b44b..53c7344f55b989cb563b497d470475d63c250956 100644 (file)
@@ -1,3 +1,8 @@
+2010-06-23  Sebastian Pop  <sebastian.pop@amd.com>
+
+       * graphite-sese-to-poly.c (rewrite_commutative_reductions_out_of_ssa):
+       Early return in when flag_associative_math is not set.
+
 2010-06-23  Sebastian Pop  <sebastian.pop@amd.com>
 
        * gcc.dg/graphite/run-id-2.c: Call abort.
index 75879ed7e0c5f08495ec245dbb11810deed179e7..9aa4070b464f27cadbaa241186ae87459778f965 100644 (file)
@@ -2829,6 +2829,9 @@ rewrite_commutative_reductions_out_of_ssa (sese region, sbitmap reductions)
   loop_iterator li;
   loop_p loop;
 
+  if (!flag_associative_math)
+    return;
+
   FOR_EACH_LOOP (li, loop, 0)
     if (loop_in_sese_p (loop, region))
       rewrite_commutative_reductions_out_of_ssa_loop (loop, reductions);