From 203888c35a68f7852686a01b1eb9aca067b8b715 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Wed, 15 Feb 2012 00:15:55 +0100 Subject: [PATCH] isl_map_coalesce: drop empty parts before checking the number of parts Signed-off-by: Sven Verdoolaege --- isl_coalesce.c | 1 + 1 file changed, 1 insertion(+) diff --git a/isl_coalesce.c b/isl_coalesce.c index 1a4078e4..52ec4acd 100644 --- a/isl_coalesce.c +++ b/isl_coalesce.c @@ -1228,6 +1228,7 @@ struct isl_map *isl_map_coalesce(struct isl_map *map) unsigned n; struct isl_tab **tabs = NULL; + map = isl_map_remove_empty_parts(map); if (!map) return NULL; -- 2.11.4.GIT