graphite.c (graphite_initialize): Do not handle functions with more than 100 basic blocks.

2009-10-13  Sebastian Pop  <sebastian.pop@amd.com>

	* graphite.c (graphite_initialize): Do not handle functions with
	more than 100 basic blocks.

From-SVN: r154575
This commit is contained in:
Sebastian Pop 2009-11-25 05:01:06 +00:00 committed by Sebastian Pop
parent e797c5f266
commit 9bf13085d8
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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

View 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);