OSDN Git Service

2009-10-13 Sebastian Pop <sebastian.pop@amd.com>
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Nov 2009 05:01:06 +0000 (05:01 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Nov 2009 05:01:06 +0000 (05:01 +0000)
* graphite.c (graphite_initialize): Do not handle functions with
more than 100 basic blocks.

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

gcc/ChangeLog.graphite
gcc/graphite.c

index 95068fe..fa5ecbe 100644 (file)
@@ -1,5 +1,10 @@
 2009-10-13  Sebastian Pop  <sebastian.pop@amd.com>
 
+       * graphite.c (graphite_initialize): Do not handle functions with
+       more than 100 basic blocks.
+
+2009-10-13  Sebastian Pop  <sebastian.pop@amd.com>
+
        * graphite-blocking.c (pbb_do_strip_mine): Use
        PARAM_LOOP_BLOCK_TILE_SIZE.
 
index 5e89263..8cb61d2 100644 (file)
@@ -199,7 +199,10 @@ print_graphite_statistics (FILE* file, VEC (scop_p, heap) *scops)
 static bool
 graphite_initialize (void)
 {
-  if (number_of_loops () <= 1)
+  if (number_of_loops () <= 1
+      /* FIXME: This limit on the number of basic blocks of a function
+        should be removed when the SCOP detection is faster.  */
+      || n_basic_blocks > 100)
     {
       if (dump_file && (dump_flags & TDF_DETAILS))
        print_global_statistics (dump_file);