]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
add missing ast node for isl 0.15
authorAditya Kumar <aditya.k7@samsung.com>
Thu, 21 Jan 2016 02:12:56 +0000 (02:12 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Thu, 21 Jan 2016 02:12:56 +0000 (02:12 +0000)
* graphite-isl-ast-to-gimple.c (translate_isl_ast): Also handle
isl_ast_node_mark.

Co-Authored-By: Sebastian Pop <s.pop@samsung.com>
From-SVN: r232652

gcc/ChangeLog
gcc/graphite-isl-ast-to-gimple.c

index 7dabced78e2c4441d3aa8f7885d8f445227a3c35..1fec4b93164eeac632b8dd2232bb287f5dab0b2e 100644 (file)
@@ -1,3 +1,9 @@
+2016-01-21  Aditya Kumar  <aditya.k7@samsung.com>
+           Sebastian Pop  <s.pop@samsung.com>
+
+       * graphite-isl-ast-to-gimple.c (translate_isl_ast): Also handle
+       isl_ast_node_mark.
+
 2016-01-21  Aditya Kumar  <aditya.k7@samsung.com>
            Sebastian Pop  <s.pop@samsung.com>
 
index 618ee95bef50d388365992602661373f87a69d66..6c7fd19b76fb647e2783edd51c47ad4a8ff6f1f9 100644 (file)
@@ -1254,6 +1254,16 @@ translate_isl_ast_to_gimple::translate_isl_ast (loop_p context_loop,
       return translate_isl_ast_node_block (context_loop, node,
                                           next_e, ip);
 
+#ifdef HAVE_ISL_OPTIONS_SET_SCHEDULE_SERIALIZE_SCCS
+    case isl_ast_node_mark:
+      {
+       isl_ast_node *n = isl_ast_node_mark_get_node (node);
+       edge e = translate_isl_ast (context_loop, n, next_e, ip);
+       isl_ast_node_free (n);
+       return e;
+      }
+#endif
+
     default:
       gcc_unreachable ();
     }