summaryrefslogtreecommitdiff
path: root/gcc/graphite.c
diff options
context:
space:
mode:
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-25 05:25:11 +0000
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-25 05:25:11 +0000
commit2eb8c11d0094961eafac9a7a5168e77fa7a18e6a (patch)
treee216bf86e80a13ccd85934cc211f8b54318dcb81 /gcc/graphite.c
parent86cbf617330d4ffa9b7f1e235a84f72ff596d827 (diff)
downloadgcc-2eb8c11d0094961eafac9a7a5168e77fa7a18e6a.tar.gz
2009-10-26 Sebastian Pop <sebastian.pop@amd.com>
* graphite-clast-to-gimple.c (find_pbb_via_hash): Moved up. (dependency_in_loop_p): Same. (translate_clast): Do not use loop->aux. Initialize loop->can_be_parallel. (mark_loops_parallel): Removed. * graphite-clast-to-gimple.h (mark_loops_parallel): Removed. * graphite.c (free_aux_in_new_loops): Removed. (graphite_finalize): Do not call free_aux_in_new_loops. (graphite_transform_loops): Do not call mark_loops_parallel. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154626 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/graphite.c')
-rw-r--r--gcc/graphite.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/gcc/graphite.c b/gcc/graphite.c
index 291a1fea4b5..83d484aae56 100644
--- a/gcc/graphite.c
+++ b/gcc/graphite.c
@@ -220,22 +220,6 @@ graphite_initialize (void)
return true;
}
-/* Free loop->aux in newly created loops by translate_clast. */
-
-static void
-free_aux_in_new_loops (void)
-{
- loop_p loop;
- loop_iterator li;
-
- FOR_EACH_LOOP (li, loop, 0)
- if (loop->aux)
- {
- free (loop->aux);
- loop->aux = NULL;
- }
-}
-
/* Finalize graphite: perform CFG cleanup when NEED_CFG_CLEANUP_P is
true. */
@@ -252,7 +236,6 @@ graphite_finalize (bool need_cfg_cleanup_p)
cloog_finalize ();
free_original_copy_tables ();
- free_aux_in_new_loops ();
if (dump_file && dump_flags)
print_loops (dump_file, 3);
@@ -302,9 +285,6 @@ graphite_transform_loops (void)
}
}
- if (flag_loop_parallelize_all)
- mark_loops_parallel (bb_pbb_mapping);
-
htab_delete (bb_pbb_mapping);
free_scops (scops);
graphite_finalize (need_cfg_cleanup_p);