isl_basic_map_insert: preserve emptiness
commit11927df08e42876dd1d2df20c1c436f40551afaa
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 17 Apr 2012 10:50:27 +0000 (17 12:50 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 17 Apr 2012 19:11:06 +0000 (17 21:11 +0200)
tree72a1ef14e22619486b3d2b0bc261dd9ca18f1cde
parentc1697481a4da812d57a9fc688529c76eef6db801
isl_basic_map_insert: preserve emptiness

isl_basic_map_plain_is_empty doesn't look at the constraints but only
at the ISL_BASIC_MAP_EMPTY flag.  We therefore need to make sure the
flag is set on the output of isl_basic_map_insert if it was set on the
input.

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