isl_pw_qpolynomial_bound: special case affine polynomials
commita365af4ab8c38176b09c461b12b11b728dd0abed
authorSven Verdoolaege <sven.verdoolaege@gmail.com>
Sun, 26 Feb 2023 11:54:30 +0000 (26 12:54 +0100)
committerSven Verdoolaege <sven.verdoolaege@gmail.com>
Sun, 23 Apr 2023 18:12:54 +0000 (23 20:12 +0200)
tree8157868d154fcc01bfbb2ac38ee744aec592eefe
parent4344c519f4131a13216532bd0bb227fa974a7104
isl_pw_qpolynomial_bound: special case affine polynomials

If one or more of the quasi-polynomials is actually a quasi-affine
expression, then the bound on the corresponding domain
can always be computed exactly.
Do this instead of using the generic bound computation.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
isl_bound.c
isl_test.c