make debug comment more explicit
authorAbderrazek Zaafrani <a.zaafrani@samsung.com>
Thu, 28 Jan 2016 16:39:18 +0000 (16:39 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Thu, 28 Jan 2016 16:39:18 +0000 (16:39 +0000)
2016-01-28  Abderrazek Zaafrani  <a.zaafrani@samsung.com>

* graphite-optimize-isl.c (optimize_isl): Print a different debug
message when isl does not return a valid schedule.

From-SVN: r232935

gcc/ChangeLog
gcc/graphite-optimize-isl.c

index 9d5f81bde76ec6a45c6743f35efa368d87fbb49d..2a1fca74f7986e753f7466cac685d015a9662ac5 100644 (file)
@@ -1,3 +1,8 @@
+2016-01-28  Abderrazek Zaafrani  <a.zaafrani@samsung.com>
+
+       * graphite-optimize-isl.c (optimize_isl): Print a different debug
+       message when isl does not return a valid schedule.
+
 2016-01-28  Sebastian Pop  <s.pop@samsung.com>
 
        * graphite-isl-ast-to-gimple.c (class translate_isl_ast_to_gimple):
index d1620d5f1d8096fc93de5d6958be5367c5ec5e4f..6b3108dae171da54a4a1d43c91e6de7cd46785b4 100644 (file)
@@ -477,8 +477,15 @@ optimize_isl (scop_p scop)
   if (!schedule || isl_ctx_last_error (scop->isl_context) == isl_error_quota)
     {
       if (dump_file && dump_flags)
-       fprintf (dump_file, "isl timed out --param max-isl-operations=%d\n",
-                max_operations);
+       {
+         if (!schedule)
+           fprintf (dump_file, "isl did not return any schedule.\n",
+                    max_operations);
+         else
+           fprintf (dump_file, "isl timed out --param max-isl-operations=%d\n",
+                    max_operations);
+       }
+
       if (schedule)
        isl_schedule_free (schedule);
       return false;