add isl_set_compute_divs
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 26 Aug 2008 08:09:56 +0000 (10:09 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 26 Aug 2008 08:09:56 +0000 (10:09 +0200)
isl_map.c

index 97e9939..e8aefcf 100644 (file)
--- a/isl_map.c
+++ b/isl_map.c
@@ -2517,6 +2517,13 @@ struct isl_set *isl_basic_set_compute_divs(struct isl_ctx *ctx,
                        (struct isl_basic_map *)bset);
 }
 
+struct isl_set *isl_set_compute_divs(struct isl_ctx *ctx,
+               struct isl_set *set)
+{
+       return (struct isl_set *)
+               isl_map_compute_divs(ctx, (struct isl_map *)set);
+}
+
 struct isl_set *isl_map_domain(struct isl_ctx *ctx, struct isl_map *map)
 {
        int i;