aboutsummaryrefslogtreecommitdiff
path: root/gcc/graphite-scop-detection.c
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2012-08-14 16:01:10 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2012-08-14 16:01:10 +0000
commitcc360b36dfccb7179f0ff2d01bfeb5161237aaae (patch)
tree4464f678351d15a2ac886efa3d2f24239ee68188 /gcc/graphite-scop-detection.c
parent2ba31c054ff58914b68ff5e8abe3e48d46e14658 (diff)
downloadgcc-cc360b36dfccb7179f0ff2d01bfeb5161237aaae.zip
gcc-cc360b36dfccb7179f0ff2d01bfeb5161237aaae.tar.gz
gcc-cc360b36dfccb7179f0ff2d01bfeb5161237aaae.tar.bz2
graphite-scop-detection.c (create_sese_edges): Compute dominance info before trying to fix loop structure.
* graphite-scop-detection.c (create_sese_edges): Compute dominance info before trying to fix loop structure. * cfgloopmanip.c (fix_loop_structure): Require fast DOM queries. * tree-cfgcleanup.c (repair_loop_structures): Likewise. * cfgloop.c (verify_loop_structure): Verify loop fathers. From-SVN: r190390
Diffstat (limited to 'gcc/graphite-scop-detection.c')
-rw-r--r--gcc/graphite-scop-detection.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/graphite-scop-detection.c b/gcc/graphite-scop-detection.c
index 2fb1997..408e6b2 100644
--- a/gcc/graphite-scop-detection.c
+++ b/gcc/graphite-scop-detection.c
@@ -1029,6 +1029,7 @@ create_sese_edges (VEC (sd_region, heap) *regions)
unmark_exit_edges (regions);
+ calculate_dominance_info (CDI_DOMINATORS);
fix_loop_structure (NULL);
#ifdef ENABLE_CHECKING