aboutsummaryrefslogtreecommitdiff
path: root/gcc/graphite.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/graphite.c')
-rw-r--r--gcc/graphite.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/gcc/graphite.c b/gcc/graphite.c
index af336da..d8777f0 100644
--- a/gcc/graphite.c
+++ b/gcc/graphite.c
@@ -337,17 +337,16 @@ graphite_transform_loops (void)
if (!apply_poly_transforms (scop))
continue;
+ location_t loc = find_loop_location
+ (scops[i]->scop_info->region.entry->dest->loop_father);
+
need_cfg_cleanup_p = true;
- /* When code generation is not successful, do not continue
- generating code for the next scops: the IR has to be cleaned up
- 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");
+ dump_printf_loc (MSG_MISSED_OPTIMIZATION, loc,
+ "loop nest not optimized, code generation error\n");
+ else
+ dump_printf_loc (MSG_OPTIMIZED_LOCATIONS, loc,
+ "loop nest optimized\n");
}
free_scops (scops);