repo.or.cz
/
isl.git
/
commitdiff
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
raw
|
patch
|
inline
|
side by side
(parent:
744b77f
)
isl_map_drop_constraints_involving_dims: turn off disjoint flag
author
Sven Verdoolaege
<skimo@kotnet.org>
Mon, 7 Dec 2015 09:26:13 +0000
(7 10:26 +0100)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Mon, 7 Dec 2015 16:18:48 +0000
(7 17:18 +0100)
Since isl_map_drop_constraints_involving_dims removes constraints,
the result may no longer be disjoint.
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_affine_hull.c
patch
|
blob
|
blame
|
history
diff --git
a/isl_affine_hull.c
b/isl_affine_hull.c
index
e7bde3f
..
626c4e8
100644
(file)
--- a/
isl_affine_hull.c
+++ b/
isl_affine_hull.c
@@
-652,6
+652,9
@@
__isl_give isl_map *isl_map_drop_constraints_involving_dims(
return isl_map_free(map);
}
+ if (map->n > 1)
+ ISL_F_CLR(map, ISL_MAP_DISJOINT);
+
return map;
}