isl_union_*_add_part_generic: check for overlapping domains instead of spaces
commit0ef6d994fc37872a0eaacf77884f94b91b7a389c
authorSven Verdoolaege <skimo@kotnet.org>
Thu, 2 Jul 2015 17:03:02 +0000 (2 19:03 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Thu, 23 Jul 2015 11:58:10 +0000 (23 13:58 +0200)
treefd184ecd00bd39701aace9ebeacc2bab5ac74ebd
parent2d9cac3114d8d631d5d6afafc84e59ab308cab2c
isl_union_*_add_part_generic: check for overlapping domains instead of spaces

A UNION is currently not allowed to contain multiple entries with
the same domain space, but this will be changed in a subsequent commit.
In that case and if "disjoint" is set, isl_union_*_add_part_generic needs
to check that the domains of two entries that have the same domain space
are disjoint.  Introduce the infrastructure for performing these tests,
which are currently specialized to the case where no two entries can have
the same domain space.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_union_templ.c