graphite-isl-ast-to-gimple.c (translate_pending_phi_nodes): Verify both BBs contain...
authorRichard Biener <rguenther@suse.de>
Fri, 22 Sep 2017 07:31:32 +0000 (07:31 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 22 Sep 2017 07:31:32 +0000 (07:31 +0000)
commitab0e5308484abccb6c21d3a6593ab653a02784a2
tree021bf36f1ccc132d37c48e39b7cde0e5b57beba2
parente7ba6a6041df85d7027a4e776f144a2f21204fdf
graphite-isl-ast-to-gimple.c (translate_pending_phi_nodes): Verify both BBs contain loop PHI nodes before dispatching to copy_loop_phi_args.

2017-09-21  Richard Biener  <rguenther@suse.de>

* graphite-isl-ast-to-gimple.c (translate_pending_phi_nodes):
Verify both BBs contain loop PHI nodes before dispatching to
copy_loop_phi_args.
(graphite_regenerate_ast_isl): Do not recompute dominators,
do not verify three times.  Restructure for clarity.
* graphite-scop-detection.c (same_close_phi_node,
remove_duplicate_close_phi, make_close_phi_nodes_unique,
defined_in_loop_p, canonicalize_loop_closed_ssa,
canonicalize_loop_closed_ssa_form): Simplify, remove excess
checking and SSA rewrite, move to ...
* graphite.c: ... here.  Include ssa.h and tree-ssa-loop-manip.h.
(graphite_initialize): Do not pass in ctx, do not reset the
SCEV cache, compute only dominators.
(graphite_transform_loops): Allocate ISL ctx after
graphite_initialize.  Call canonicalize_loop_closed_ssa_form.
Maintain post-dominators only around build_scops.
* sese.c (if_region_set_false_region): Make static.  Free
and recompute dominators.
(move_sese_in_condition): Assert we don't get called with
post-dominators computed.
* sese.h (if_region_set_false_region): Remove.

From-SVN: r253090
gcc/ChangeLog
gcc/graphite-isl-ast-to-gimple.c
gcc/graphite-scop-detection.c
gcc/graphite.c
gcc/sese.c
gcc/sese.h