diff options
author | Richard Biener <rguenther@suse.de> | 2017-09-25 13:19:16 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2017-09-25 13:19:16 +0000 |
commit | 26993e95b9e5d4c79ee6c9b16307046383590748 (patch) | |
tree | 62988443002b9798950e5d2cb60215d7239a4b6e /gcc/graphite.c | |
parent | 579f368704e340c47957d5fb5aca6ecda6624a69 (diff) | |
download | gcc-26993e95b9e5d4c79ee6c9b16307046383590748.zip gcc-26993e95b9e5d4c79ee6c9b16307046383590748.tar.gz gcc-26993e95b9e5d4c79ee6c9b16307046383590748.tar.bz2 |
cfgloop.h (sort_sibling_loops): Declare.
2017-09-25 Richard Biener <rguenther@suse.de>
* cfgloop.h (sort_sibling_loops): Declare.
* cfgloop.c (sort_sibling_loops_cmp): New helper.
(sort_sibling_loops): New function sorting the sibling loop list
in RPO order.
* graphite.c (graphite_transform_loops): Sort sibling loops.
From-SVN: r253149
Diffstat (limited to 'gcc/graphite.c')
-rw-r--r-- | gcc/graphite.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/graphite.c b/gcc/graphite.c index a5a31c2..7e6ba50 100644 --- a/gcc/graphite.c +++ b/gcc/graphite.c @@ -419,6 +419,7 @@ graphite_transform_loops (void) isl_options_set_on_error (ctx, ISL_ON_ERROR_ABORT); the_isl_ctx = ctx; + sort_sibling_loops (cfun); canonicalize_loop_closed_ssa_form (); calculate_dominance_info (CDI_POST_DOMINATORS); |