diff options
author | Sebastian Pop <sebastian.pop@amd.com> | 2009-11-25 05:01:06 +0000 |
---|---|---|
committer | Sebastian Pop <spop@gcc.gnu.org> | 2009-11-25 05:01:06 +0000 |
commit | 9bf13085d8eaf3fba208a23c8048dd8e86d5c169 (patch) | |
tree | 3e3a697c5c1fdec358aabbfa0eb52287fd0d4bc4 /gcc/graphite.c | |
parent | e797c5f266bd5e3bdbbbf1673ec29547ed97d535 (diff) | |
download | gcc-9bf13085d8eaf3fba208a23c8048dd8e86d5c169.tar.gz |
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
Diffstat (limited to 'gcc/graphite.c')
-rw-r--r-- | gcc/graphite.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/graphite.c b/gcc/graphite.c index 5e892635268..8cb61d2c36e 100644 --- a/gcc/graphite.c +++ b/gcc/graphite.c @@ -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); |