From: Sven Verdoolaege Date: Fri, 18 Feb 2011 12:09:02 +0000 (+0100) Subject: isl_basic_map_sort_constraints: change comparison routine X-Git-Tag: isl-0.06~41 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=91c6aa5e30ab344c3f3b6d07af44e17a88d2b1b6;hp=91c6aa5e30ab344c3f3b6d07af44e17a88d2b1b6;p=platform%2Fupstream%2Fisl.git isl_basic_map_sort_constraints: change comparison routine In particular, before we would simply sort the constraints lexicographically. Now, we first check for the last non-zero coefficients and only when those positions are the same do we continue with the lexicographical order. The new ordering is the same as that used to order divs in isl_polynomial.c Signed-off-by: Sven Verdoolaege ---