From 85e4e40b2e7ec064ebf47dd91172b93c90726c55 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Tue, 2 Jun 2009 19:32:23 +0200 Subject: [PATCH] isl_basic_map_is_empty: explicitly mark basic sets determined to be empty --- isl_map.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/isl_map.c b/isl_map.c index 7ee8767..aec0975 100644 --- a/isl_map.c +++ b/isl_map.c @@ -3517,6 +3517,8 @@ int isl_basic_map_is_empty(struct isl_basic_map *bmap) if (bmap->sample) isl_vec_free(bmap->ctx, bmap->sample); bmap->sample = sample; + if (empty) + ISL_F_SET(bmap, ISL_BASIC_MAP_EMPTY); return empty; } -- 2.7.4