OSDN Git Service

2009-01-17 Sebastian Pop <sebastian.pop@amd.com>
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 17 Jan 2009 15:13:12 +0000 (15:13 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 17 Jan 2009 15:13:12 +0000 (15:13 +0000)
    Tobias Grosser  <tobi.grosser@amd.com>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143468 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/graphite.c

index 77cf99c..5c356fc 100644 (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.
index 4e301e4..5377d72 100644 (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);