isl_basic_map_overlying_set: simplify resulting basic map
authorSven Verdoolaege <skimo@kotnet.org>
Sun, 28 Dec 2008 13:39:51 +0000 (14:39 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Sun, 28 Dec 2008 13:39:51 +0000 (14:39 +0100)
isl_map.c

index 3e0b167..89f8c84 100644 (file)
--- a/isl_map.c
+++ b/isl_map.c
@@ -2914,6 +2914,7 @@ struct isl_basic_map *isl_basic_map_overlying_set(
                                goto error;
        }
        isl_basic_map_free(like);
+       bmap = isl_basic_map_simplify(bmap);
        bmap = isl_basic_map_finalize(bmap);
        return bmap;
 error: