isl_basic_map_drop_constraints{_not,}_involving: add back div constraints
commitbec90cd4ee821e9180c848f2306b3f59ddf2d844
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 4 Aug 2014 09:46:24 +0000 (4 11:46 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 4 Aug 2014 09:46:24 +0000 (4 11:46 +0200)
tree447b45c85c20bad1effe3379b170a38426d0b40c
parent2f7cae357ca326e8e8b42cb835c08ebbf7d584b9
isl_basic_map_drop_constraints{_not,}_involving: add back div constraints

The div constraints are assumed to always be expressed by the constraints
of a basic map.  They may however get removed if they turn out to be
redundant with respect to some other constraints.  When we are removing
constraints in these two functions, we may be removing constraints
that helped to make the div constraints redundant, leaving the
div constraints unexpressed.  Add back all div constraints to make
sure that they are all expressed by the basic map.

Reported-by: Roman Gareev <gareevroman@gmail.com>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_affine_hull.c
test_inputs/codegen/roman.c [new file with mode: 0644]
test_inputs/codegen/roman.in [new file with mode: 0644]