isl_coalesce.c: coalesce_with_subs: add div constraints to tableau
commite72b919115046ad2574291a22ab521e7d7ca0500
authorSven Verdoolaege <skimo@kotnet.org>
Thu, 29 Jan 2015 09:59:15 +0000 (29 10:59 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 2 Feb 2015 22:05:30 +0000 (2 23:05 +0100)
tree657fe05c72f16da9d72e7a68626168d202629df1
parentf637a53e417495c0fcaa4585bb80909bd36a7b3c
isl_coalesce.c: coalesce_with_subs: add div constraints to tableau

Since 81fed9f (isl_map_coalesce: handle divs that have been simplified away
in one basic map, Fri Oct 10 11:49:16 2014 +0200), we try adding
back divs to a basic map from another basic map that may have been
simplified away using the equalities in the basic map.
When we add divs from one basic map to the other, we also add
the corresponding div constraints.  These need to be added
to the tableau as well since ineq_status_in first checks
if the given constraint is redundant in its own basic map
by checking if the corresponding constraint in the tableau
is redundant.  This assumes that there is such a constraint
in the tableau and that it corresponds to the constraint
in the basic map.

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