isl_basic_map_gist: avoid modifying input
commit85d738f736b046b1f73942df1e98aed320537739
authorSven Verdoolaege <skimo@kotnet.org>
Thu, 20 Nov 2014 14:58:18 +0000 (20 15:58 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Thu, 20 Nov 2014 15:15:32 +0000 (20 16:15 +0100)
treea4c0a167c82cd4bd7ffddb7f628dfb02ed643011
parent0698f8436c523ecc742b13a9b3aa337cc2421fa2
isl_basic_map_gist: avoid modifying input

In particular, add a missing isl_basic_map_cow.
Without it, the input map could get modified if it has divs and
the context has equalities.

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