* 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
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.
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);