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:
8067766
)
isl_basic_map_alloc_div: clear unused extra coefficients
author
Sven Verdoolaege
<skimo@kotnet.org>
Sat, 8 Nov 2008 11:11:14 +0000
(12:11 +0100)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Sat, 8 Nov 2008 11:11:14 +0000
(12:11 +0100)
isl_map.c
patch
|
blob
|
history
diff --git
a/isl_map.c
b/isl_map.c
index
d573eb5
..
a40d0c5
100644
(file)
--- a/
isl_map.c
+++ b/
isl_map.c
@@
-353,6
+353,9
@@
int isl_basic_map_alloc_div(struct isl_basic_map *bmap)
if (!bmap)
return -1;
isl_assert(bmap->ctx, bmap->n_div < bmap->extra, return -1);
+ isl_seq_clr(bmap->div[bmap->n_div] +
+ 1 + 1 + bmap->nparam + bmap->n_in + bmap->n_out + bmap->n_div,
+ bmap->extra - bmap->n_div);
return bmap->n_div++;
}