isl_aff_nonneg_basic_set and isl_aff_zero_basic_set: simplify result
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 18 Jan 2012 17:36:53 +0000 (18:36 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 18 Jan 2012 17:40:10 +0000 (18:40 +0100)
commit3b77aba10e5c8bb3430355a13c6ad341ab64bd87
treed9ff5b0ecd637a3dce7fb2880bd4d63eb67fd950
parent328c78f7d2fdc3068a2a7232149d6d0b35a35c8d
isl_aff_nonneg_basic_set and isl_aff_zero_basic_set: simplify result

The constructed constraint may be a tautology in which case it needs
to be simplified away, especially if it is an equality.

We probably want to perform this simplification in
isl_basic_set_from_constraint instead, but CLooG currently depends
on the resulting basic set not being simplified.
We would have to fix CLooG first before we can change this behavior.

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