graphite.c (graphite_trans_scop_block): Do not block single nested loops.

2009-01-17  Sebastian Pop  <sebastian.pop@amd.com>
	    Tobias Grosser  <tobi.grosser@amd.com>

	* graphite.c (graphite_trans_scop_block): Do not block single
	nested loops.


Co-Authored-By: Tobias Grosser <tobi.grosser@amd.com>

From-SVN: r143468
This commit is contained in:
Sebastian Pop 2009-01-17 15:13:12 +00:00 committed by Sebastian Pop
parent f791417262
commit 8137e465bf
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2009-01-17 Sebastian Pop <sebastian.pop@amd.com>
Tobias Grosser <tobi.grosser@amd.com>
* graphite.c (graphite_trans_scop_block): Do not block single
nested loops.
2009-01-16 Alexandre Oliva <aoliva@redhat.com>
* ebitmap.h (ebitmap_iter_init): Initialize all fields.

View File

@ -5948,7 +5948,7 @@ graphite_trans_scop_block (scop_p scop)
j++;
/* Found perfect loop nest. */
if (last_nb_loops - j > 0)
if (last_nb_loops - j >= 2)
transform_done |= graphite_trans_loop_block (bbs, last_nb_loops - j);
VEC_free (graphite_bb_p, heap, bbs);