2013-09-12 Richard Biener <rguenther@suse.de>
commit5529df60645c5a4b3b4b5a5714675f6f95d912d6
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Sep 2013 08:49:01 +0000 (12 08:49 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Sep 2013 08:49:01 +0000 (12 08:49 +0000)
tree1d43309f28d26aafbb93207e974cad04d16e8ea9
parentb27da1971e6dbd550512d737482bee4b1ee5fd22
2013-09-12  Richard Biener  <rguenther@suse.de>

* tree-loop-distribution.c (dot_rdg_1): Make graph prettier.
(dot_rdg): Use popen instead of system in optional code.
(remaining_stmts, upstream_mem_writes): Remove global bitmaps.
(already_processed_vertex_p): Adjust.
(has_anti_or_output_dependence, predecessor_has_mem_write,
mark_nodes_having_upstream_mem_writes, has_upstream_mem_writes,
rdg_flag_uses): Remove.
(rdg_flag_vertex): Simplify.
(rdg_flag_vertex_and_dependent): Rely on a correct RDG and
remove recursion.
(build_rdg_partition_for_component): Process the first vertex
of a component only.
(ldist_gen): Do not compute remaining_stmts or upstream_mem_writes.

* gcc.dg/tree-ssa/ldist-4.c: Remove undefined behavior.  Adjust
expected outcome and comment why that happens.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202516 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ldist-4.c
gcc/tree-loop-distribution.c