remove_all_equalities: keep removing parameter equalities until none left
commit0d0f130c86157551828f65387a5a726a5733943e
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 12 Mar 2008 14:38:39 +0000 (12 15:38 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 24 Mar 2008 16:42:50 +0000 (24 17:42 +0100)
tree5a8d5aedfe428d8b2cc1e21d5cb19cdf1b2a24b0
parent6c458a404cbe0a2e3c6de02c167c39e38e3794e6
remove_all_equalities: keep removing parameter equalities until none left

In e52f4ac65cbc9ce0e2b7308c4d739e12d6ba5e01 (remove_all_equalities:
keep removing equalities until no new ones are created), we made
sure newly introduced equalities were removed through variable
compression.  However, parameter compression may also introduce
new implicit equalities after simpliflying constraints, so we
may need to call compress_params several times as well.

We have to be careful, though, not to end up in an endless
loop.  We therefore need to check whether the transformation
compress_parms returns is just a translation (in which case
we can stop calling it).
remove_equalities.c
testlib.cc
tests/ehrhart/equal11 [new file with mode: 0644]
tests/ehrhart/equal12 [new file with mode: 0644]