From: Sebastian Pop Date: Wed, 11 Aug 2010 20:25:27 +0000 (+0000) Subject: Early return in rewrite_commutative_reductions_out_of_ssa when flag_associative_math... X-Git-Tag: releases/gcc-4.6.0~5085 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc5889707861a7f94cb3dbba61a224d45742d3d2;p=thirdparty%2Fgcc.git Early return in rewrite_commutative_reductions_out_of_ssa when flag_associative_math is not set. 2010-06-23 Sebastian Pop * graphite-sese-to-poly.c (rewrite_commutative_reductions_out_of_ssa): Early return in when flag_associative_math is not set. From-SVN: r163125 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3e634e76a615..71caf5be137d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-08-02 Sebastian Pop + + * 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 * graphite-sese-to-poly.c (rewrite_phi_out_of_ssa): Always insert out diff --git a/gcc/ChangeLog.graphite b/gcc/ChangeLog.graphite index abeda2a42e9c..53c7344f55b9 100644 --- a/gcc/ChangeLog.graphite +++ b/gcc/ChangeLog.graphite @@ -1,3 +1,8 @@ +2010-06-23 Sebastian Pop + + * 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 * gcc.dg/graphite/run-id-2.c: Call abort. diff --git a/gcc/graphite-sese-to-poly.c b/gcc/graphite-sese-to-poly.c index 75879ed7e0c5..9aa4070b464f 100644 --- a/gcc/graphite-sese-to-poly.c +++ b/gcc/graphite-sese-to-poly.c @@ -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);