isl_map_simplify.c: drop_unrelated_constraints: avoid affecting copies
commitf10c2593fd3d483bc169f54df1685c77026293ea
authorSven Verdoolaege <skimo@kotnet.org>
Sat, 20 Feb 2016 10:13:32 +0000 (20 11:13 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 22 Feb 2016 08:20:17 +0000 (22 09:20 +0100)
treee3f5e238e793133fda40f254d44dd07248052f40
parentd9782ac29a0cbffb0be18e40bbb4101123e832a0
isl_map_simplify.c: drop_unrelated_constraints: avoid affecting copies

The input to drop_unrelated_constraints may in theory be a shared
object.  Since the constraints that are being dropped are not redundant,
it is important to not affect any copies of the modified object.

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