Commit 5fed2e0d by Tom de Vries Committed by Tom de Vries

Enable reductions without fassociative-math in graphite

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.

From-SVN: r226194
parent e6df8509
2015-07-24 Tom de Vries <tom@codesourcery.com> 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 * graphite-sese-to-poly.c (is_reduction_operation_p): Limit
flag_associative_math to FLOAT_TYPE_P. Honour flag_associative_math to FLOAT_TYPE_P. Honour
TYPE_OVERFLOW_WRAPS for INTEGRAL_TYPE_P. Don't allow any other types. TYPE_OVERFLOW_WRAPS for INTEGRAL_TYPE_P. Don't allow any other types.
......
...@@ -3156,7 +3156,6 @@ build_poly_scop (scop_p scop) ...@@ -3156,7 +3156,6 @@ build_poly_scop (scop_p scop)
if (!scop_ivs_can_be_represented (scop)) if (!scop_ivs_can_be_represented (scop))
return; return;
if (flag_associative_math)
rewrite_commutative_reductions_out_of_ssa (scop); rewrite_commutative_reductions_out_of_ssa (scop);
build_sese_loop_nests (region); build_sese_loop_nests (region);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment