update isl for change in isl_vertex inspectors
authorSven Verdoolaege <skimo@kotnet.org>
Sat, 29 Mar 2014 18:48:00 +0000 (29 19:48 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 2 Apr 2014 11:44:39 +0000 (2 13:44 +0200)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
iscc.c
isl
isl_param_util.c

diff --git a/iscc.c b/iscc.c
index bd9207d..aa6c73a 100644 (file)
--- a/iscc.c
+++ b/iscc.c
@@ -1403,12 +1403,14 @@ struct add_vertex_data {
 static int add_vertex(__isl_take isl_vertex *vertex, void *user)
 {
        struct add_vertex_data *data = (struct add_vertex_data *)user;
-       isl_basic_set *expr;
+       isl_multi_aff *ma;
+       isl_set *dom;
 
-       expr = isl_vertex_get_expr(vertex);
+       ma = isl_vertex_get_expr(vertex);
+       dom = isl_set_from_basic_set(isl_vertex_get_domain(vertex));
 
-       data->list->obj[data->i].type = isl_obj_set;
-       data->list->obj[data->i].v = isl_set_from_basic_set(expr);
+       data->list->obj[data->i].type = isl_obj_pw_multi_aff;
+       data->list->obj[data->i].v = isl_pw_multi_aff_alloc(dom, ma);
        data->i++;
 
        isl_vertex_free(vertex);
diff --git a/isl b/isl
index 2007d96..6fda577 160000 (submodule)
--- a/isl
+++ b/isl
@@ -1 +1 @@
-Subproject commit 2007d964e48df31586cf43226abc97336576406f
+Subproject commit 6fda577b736c872a8f8b15a629f84470806393f7
index 439f864..294cac1 100644 (file)
@@ -1,3 +1,4 @@
+#include <isl_aff_polylib.h>
 #include <isl_set_polylib.h>
 #include <isl/vertices.h>
 #include "isl_param_util.h"
@@ -28,11 +29,10 @@ static int add_vertex(__isl_take isl_vertex *vertex, void *user)
 {
        Param_Vertices ***next_V = (Param_Vertices ***) user;
        Param_Vertices *V;
-       Polyhedron *D, *E;
+       Polyhedron *D;
        isl_basic_set *dom;
-       isl_basic_set *expr;
+       isl_multi_aff *expr;
        isl_ctx *ctx;
-       unsigned nvar;
 
        ctx = isl_vertex_get_ctx(vertex);
 
@@ -41,18 +41,15 @@ static int add_vertex(__isl_take isl_vertex *vertex, void *user)
        isl_basic_set_free(dom);
 
        expr = isl_vertex_get_expr(vertex);
-       nvar = isl_basic_set_dim(expr, isl_dim_set);
-       E = isl_basic_set_to_polylib(expr);
-       isl_basic_set_free(expr);
 
        V = isl_alloc_type(ctx, Param_Vertices);
-       V->Vertex = expr2vertex(E, nvar);
+       V->Vertex = isl_multi_aff_to_polylib(expr);
        V->Domain = Polyhedron2Constraints(D);
        V->Facets = NULL;
        V->next = NULL;
 
        Polyhedron_Free(D);
-       Polyhedron_Free(E);
+       isl_multi_aff_free(expr);
 
        **next_V = V;
        *next_V = &V->next;