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:
2043cb2
)
isl_term_get_div: normalize result
author
Sven Verdoolaege
<skimo@kotnet.org>
Fri, 30 Mar 2012 13:18:35 +0000
(15:18 +0200)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Tue, 17 Apr 2012 16:50:18 +0000
(18:50 +0200)
In particular, remove unused divs from the result.
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_polynomial.c
patch
|
blob
|
history
diff --git
a/isl_polynomial.c
b/isl_polynomial.c
index
6bccfba
..
80a7b1a
100644
(file)
--- a/
isl_polynomial.c
+++ b/
isl_polynomial.c
@@
-3604,6
+3604,8
@@
__isl_give isl_aff *isl_term_get_div(__isl_keep isl_term *term, unsigned pos)
isl_seq_cpy(aff->v->el, term->div->row[pos], aff->v->size);
+ aff = isl_aff_normalize(aff);
+
return aff;
}