isl_basic_map_drop_constraints_involving: move out adding div constraints
commit4591bef74eea99fe8cb64b6459ea5288609fb018
authorSven Verdoolaege <skimo@kotnet.org>
Fri, 6 Nov 2015 09:32:25 +0000 (6 10:32 +0100)
committerSven Verdoolaege <sven.verdoolaege@gmail.com>
Tue, 28 Aug 2018 19:41:54 +0000 (28 21:41 +0200)
tree0afeb280ad61739206a152fcaff451a5bb1dceee
parentff130026a0dfeeea6b88d1668aaabc971adb42b3
isl_basic_map_drop_constraints_involving: move out adding div constraints

The call to isl_basic_map_add_known_div_constraints was added in
isl-0.13-32-gbec90cd4ee (isl_basic_map_drop_constraints{_not,}_involving:
add back div constraints, Mon Aug 4 11:46:24 2014 +0200), where
one call was added to isl_basic_map_drop_constraints_not_involving_dims,
while the other call was added to isl_basic_map_drop_constraints_involving
instead of isl_basic_map_drop_constraints_involving_dims.
isl_basic_map_drop_constraints_involving is currently only called
directly on objects without integer division, so there is no need
to add back any div constraints for callers of
isl_basic_map_drop_constraints_involving that do not go through
isl_basic_map_drop_constraints_involving_dims.
Furthermore, isl_basic_map_drop_constraints_involving will
be reused in an upcoming commit to drop the div constraints
of a redundant integer division, in which case adding
div constraints for other integer divisions is pure overhead.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
isl_map.c