isl_qpolynomial: properly merge identical nested divs
commit898d9ebaa8c43caf03b9af6289336362c69827f7
authorSven Verdoolaege <skimo@kotnet.org>
Thu, 2 Dec 2010 16:56:09 +0000 (2 17:56 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 7 Dec 2010 09:40:16 +0000 (7 10:40 +0100)
treed2477286309a9a8c68f7a93af7b8cfd0c878eae0
parent007adfdc7d14856a9b272c5b8d163a944ad7cfa9
isl_qpolynomial: properly merge identical nested divs

When sort_divs encounters two identical that appear nested
inside some other div, it would simply drop one of the identical
divs, instead of summing the coefficients of both divs.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_polynomial.c
isl_test.c