From d792b44952f5204ffa1757d381a4a41724234031 Mon Sep 17 00:00:00 2001 From: Tobias Grosser Date: Thu, 29 Sep 2011 20:20:40 +0100 Subject: [PATCH] iscc: use cloog_union_domain_from_isl_set Cloog removed the cloog_union_domain_from_isl_union_set function and now only provides a function to convert an isl_set. Use this function. Signed-off-by: Tobias Grosser Signed-off-by: Sven Verdoolaege --- cloog | 2 +- iscc.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cloog b/cloog index 0a25d02..0c252c8 160000 --- a/cloog +++ b/cloog @@ -1 +1 @@ -Subproject commit 0a25d02316b9ac2e612ada5915b8f046e4f345df +Subproject commit 0c252c88946b27b7b61a1a8d8fd7f94d2461dbfd diff --git a/iscc.c b/iscc.c index d949f3c..2ee9afa 100644 --- a/iscc.c +++ b/iscc.c @@ -726,6 +726,7 @@ void *set_codegen(void *arg) { isl_space *dim; isl_union_set *uset = (isl_union_set *)arg; + isl_set *set; isl_ctx *ctx = isl_union_set_get_ctx(uset); CloogState *state; CloogOptions *options; @@ -745,7 +746,8 @@ void *set_codegen(void *arg) options->strides = 1; options->sh = 1; - ud = cloog_union_domain_from_isl_union_set(isl_union_set_copy(uset)); + set = isl_set_from_union_set(isl_union_set_copy(uset)); + ud = cloog_union_domain_from_isl_set(set); dim = isl_union_set_get_space(uset); context = cloog_domain_from_isl_set(isl_set_universe(dim)); -- 2.11.4.GIT