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/graphite-sese-to-poly.c | |
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/graphite-sese-to-poly.c')
-rw-r--r-- | gcc/graphite-sese-to-poly.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |