fix PR53852: stop ISL after a given number of operations
authorSebastian Pop <spop@gcc.gnu.org>
Wed, 9 Sep 2015 04:20:47 +0000 (04:20 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Wed, 9 Sep 2015 04:20:47 +0000 (04:20 +0000)
commit6b3ebcdda18d2b6b0e2bf3857726ab02fbac5ad4
tree4ca18591bc257fbdfb434a9bb697b0b599004413
parentb81c315682ec942ed0591d8f2d07ede43b4f3c84
fix PR53852: stop ISL after a given number of operations

2015-09-02  Sebastian Pop  <s.pop@samsung.com>

            * config.in: Regenerate.
            * configure: Regenerate.
            * configure.ac (HAVE_ISL_CTX_MAX_OPERATIONS): Detect.
            * graphite-optimize-isl.c (optimize_isl): Stop computation when
            PARAM_MAX_ISL_OPERATIONS is reached.
            * params.def (PARAM_MAX_ISL_OPERATIONS): Add.

            * graphite-dependences.c (extend_schedule): Remove gcc_asserts on
            result equal to isl_stat_ok as the status now can be isl_error_quota.
            (subtract_commutative_associative_deps): Same.
            (compute_deps): Same.

testsuite/
            * gcc.dg/graphite/uns-interchange-12.c: Adjust pattern to pass with
            both isl-0.12 and isl-0.15.
            * gcc.dg/graphite/uns-interchange-14.c: Same.
            * gcc.dg/graphite/uns-interchange-15.c: Same.
            * gcc.dg/graphite/uns-interchange-mvt.c: Same.

From-SVN: r227572
12 files changed:
gcc/ChangeLog
gcc/config.in
gcc/configure
gcc/configure.ac
gcc/graphite-dependences.c
gcc/graphite-optimize-isl.c
gcc/params.def
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/graphite/uns-interchange-12.c
gcc/testsuite/gcc.dg/graphite/uns-interchange-14.c
gcc/testsuite/gcc.dg/graphite/uns-interchange-15.c
gcc/testsuite/gcc.dg/graphite/uns-interchange-mvt.c