diff options
author | Sebastian Pop <sebastian.pop@amd.com> | 2010-08-11 20:25:27 +0000 |
---|---|---|
committer | Sebastian Pop <spop@gcc.gnu.org> | 2010-08-11 20:25:27 +0000 |
commit | cc5889707861a7f94cb3dbba61a224d45742d3d2 (patch) | |
tree | 010366412d111f4c489e657b0263d315c8251d97 /gcc | |
parent | 3d1254793bfaa2dfcc11f487453698b2c2d83f9d (diff) | |
download | gcc-cc5889707861a7f94cb3dbba61a224d45742d3d2.zip gcc-cc5889707861a7f94cb3dbba61a224d45742d3d2.tar.gz gcc-cc5889707861a7f94cb3dbba61a224d45742d3d2.tar.bz2 |
Early return in rewrite_commutative_reductions_out_of_ssa when flag_associative_math is not set.
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/ChangeLog.graphite | 5 | ||||
-rw-r--r-- | gcc/graphite-sese-to-poly.c | 3 |
3 files changed, 13 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3e634e7..71caf5b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 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 of SSA copies on edges except for loop->latch. diff --git a/gcc/ChangeLog.graphite b/gcc/ChangeLog.graphite index abeda2a..53c7344 100644 --- a/gcc/ChangeLog.graphite +++ b/gcc/ChangeLog.graphite @@ -1,5 +1,10 @@ 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. 2010-06-23 Sebastian Pop <sebastian.pop@amd.com> diff --git a/gcc/graphite-sese-to-poly.c b/gcc/graphite-sese-to-poly.c index 75879ed..9aa4070 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); |