projects
/
platform
/
upstream
/
isl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add isl_pw_qpolynomial_fold_dim
[platform/upstream/isl.git]
/
isl_pw_templ.c
diff --git
a/isl_pw_templ.c
b/isl_pw_templ.c
index
7ba5bfa
..
b65dfcb
100644
(file)
--- a/
isl_pw_templ.c
+++ b/
isl_pw_templ.c
@@
-472,3
+472,8
@@
error:
FN(PW,free)(pw);
return NULL;
}
+
+unsigned FN(PW,dim)(__isl_keep PW *pw, enum isl_dim_type type)
+{
+ return pw ? isl_dim_size(pw->dim, type) : 0;
+}