From 0bebd331e5d7153ca6c2087cc3de577b2cd0696e Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Wed, 2 Nov 2011 13:06:44 +0100 Subject: [PATCH] isl_union_pw_*_gist: special case gist with respect to parameter domains Signed-off-by: Sven Verdoolaege --- isl_union_templ.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/isl_union_templ.c b/isl_union_templ.c index ad158e31..7f5c2ae6 100644 --- a/isl_union_templ.c +++ b/isl_union_templ.c @@ -590,6 +590,8 @@ __isl_give UNION *FN(UNION,intersect_domain)(__isl_take UNION *u, __isl_give UNION *FN(UNION,gist)(__isl_take UNION *u, __isl_take isl_union_set *uset) { + if (isl_union_set_is_params(uset)) + return FN(UNION,gist_params)(u, isl_set_from_union_set(uset)); return match_set_op(u, uset, &FN(PW,gist)); } -- 2.11.4.GIT