isl_basic_map_insert: don't simplify the result
authorSven Verdoolaege <skimo@kotnet.org>
Thu, 13 Jan 2011 11:23:49 +0000 (12:23 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Sun, 16 Jan 2011 14:04:54 +0000 (15:04 +0100)
None of the constraints are changed in any way, so there shouldn't
be any need to call isl_basic_map_simplify.

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

index d326458..85124bb 100644 (file)
--- a/isl_map.c
+++ b/isl_map.c
@@ -2373,7 +2373,6 @@ __isl_give isl_basic_map *isl_basic_map_insert(__isl_take isl_basic_map *bmap,
        res = isl_basic_map_alloc_dim(res_dim,
                        bmap->n_div, bmap->n_eq, bmap->n_ineq);
        res = add_constraints_dim_map(res, bmap, dim_map);
-       res = isl_basic_map_simplify(res);
        return isl_basic_map_finalize(res);
 }