aboutsummaryrefslogtreecommitdiff
path: root/gcc/graphite.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2017-02-01 14:05:09 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2017-02-01 14:05:09 +0000
commit558b318588aa0f997f3006077098259d3b768be8 (patch)
tree9b266228ef9972686c647bce15472c381f5b6259 /gcc/graphite.c
parenta44769735d467a8fff1302c08d5a80a94ef757c7 (diff)
downloadgcc-558b318588aa0f997f3006077098259d3b768be8.zip
gcc-558b318588aa0f997f3006077098259d3b768be8.tar.gz
gcc-558b318588aa0f997f3006077098259d3b768be8.tar.bz2
graphite.c: Include tree-vectorizer.h for find_loop_location.
2017-02-01 Richard Biener <rguenther@suse.de> * graphite.c: Include tree-vectorizer.h for find_loop_location. (graphite_transform_loops): Provide opt-info for optimized nests. * tree-parloop.c (parallelize_loops): Provide opt-info for parallelized loops. From-SVN: r245096
Diffstat (limited to 'gcc/graphite.c')
-rw-r--r--gcc/graphite.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/graphite.c b/gcc/graphite.c
index a4ee8f0..1554d51 100644
--- a/gcc/graphite.c
+++ b/gcc/graphite.c
@@ -52,6 +52,7 @@ along with GCC; see the file COPYING3. If not see
#include "dbgcnt.h"
#include "tree-parloops.h"
#include "tree-cfgcleanup.h"
+#include "tree-vectorizer.h"
#include "graphite.h"
/* Print global statistics to FILE. */
@@ -328,6 +329,11 @@ graphite_transform_loops (void)
and could be in an inconsistent state. */
if (!graphite_regenerate_ast_isl (scop))
break;
+
+ location_t loc = find_loop_location
+ (scop->scop_info->region.entry->dest->loop_father);
+ dump_printf_loc (MSG_OPTIMIZED_LOCATIONS, loc,
+ "loop nest optimized\n");
}
free_scops (scops);