projects
/
platform
/
upstream
/
isl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9043b59
)
isl_union_*_alloc: project space onto parameters
author
Sven Verdoolaege
<skimo@kotnet.org>
Fri, 2 Sep 2011 06:23:58 +0000
(08:23 +0200)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Sat, 3 Sep 2011 19:43:08 +0000
(21:43 +0200)
Before, we were expecting the user to provide a parameter space,
but we might as well project whatever the user gives us onto
its parameter space.
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_union_templ.c
patch
|
blob
|
history
diff --git
a/isl_union_templ.c
b/isl_union_templ.c
index
46723ab
..
9b54e1c
100644
(file)
--- a/
isl_union_templ.c
+++ b/
isl_union_templ.c
@@
-46,6
+46,7
@@
static __isl_give UNION *FN(UNION,alloc)(__isl_take isl_space *dim, int size)
{
UNION *u;
+ dim = isl_space_params(dim);
if (!dim)
return NULL;