Message ID | 55B51220.4040506@mentor.com |
---|---|
State | New |
Headers | show |
Enable fixed-point reductions in graphite 2015-07-24 Tom de Vries <tom@codesourcery.com> * graphite-sese-to-poly.c (is_reduction_operation_p): Allow wrapping fixed-point operations. --- gcc/graphite-sese-to-poly.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gcc/graphite-sese-to-poly.c b/gcc/graphite-sese-to-poly.c index 531c848..aa823f8 100644 --- a/gcc/graphite-sese-to-poly.c +++ b/gcc/graphite-sese-to-poly.c @@ -2626,6 +2626,9 @@ is_reduction_operation_p (gimple stmt) return false; } + if (FIXED_POINT_TYPE_P (type)) + return FIXED_POINT_TYPE_OVERFLOW_WRAPS_P (type); + return false; } -- 1.9.1