isl_ast_build_expr_from_basic_set: sort constraints
commitb27aa037aa55e1c7c49a2eb0fef085f76911b7a6
authorSven Verdoolaege <skimo@kotnet.org>
Sat, 9 Nov 2013 21:44:11 +0000 (9 22:44 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 5 Aug 2014 13:12:41 +0000 (5 15:12 +0200)
tree5ab2d695311be502918fdf87a068cda8088aef38
parent8a7d843e1066b1b26188279a63b9842238a38aa3
isl_ast_build_expr_from_basic_set: sort constraints

This should make the AST generation output slightly less sensitive
to the internal representation of core isl.
Moreover, by placing constraints that do not involve integer division
before those that do, we can more easily exploit the earlier constraints
to try and simplify the later constraints in the next commit.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
28 files changed:
isl_ast_build_expr.c
test_inputs/codegen/cloog/dealII.c
test_inputs/codegen/cloog/equality2.c
test_inputs/codegen/cloog/jacobi-shared.c
test_inputs/codegen/cloog/mxm-shared.c
test_inputs/codegen/cloog/reservoir-liu-zhuge1.c
test_inputs/codegen/cloog/unroll2.c
test_inputs/codegen/cloog/vivien.c
test_inputs/codegen/cloog/vivien2.c
test_inputs/codegen/hoist.c
test_inputs/codegen/omega/code_gen-0.c
test_inputs/codegen/omega/hpf-0.c
test_inputs/codegen/omega/if_then-4.c
test_inputs/codegen/omega/if_then-5.c
test_inputs/codegen/omega/iter9-0.c
test_inputs/codegen/omega/lift2-0.c
test_inputs/codegen/omega/m10-1.c
test_inputs/codegen/omega/p.delft-0.c
test_inputs/codegen/omega/p.delft2-0.c
test_inputs/codegen/omega/ts1d-mp-i_ts-m_b-0.c
test_inputs/codegen/omega/wak1-0.c
test_inputs/codegen/pldi2012/figure8_b.c
test_inputs/codegen/roman.c
test_inputs/codegen/separate2.c
test_inputs/codegen/separation_class3.c
test_inputs/codegen/shift2.c
test_inputs/codegen/unroll4.c
test_inputs/codegen/unroll6.c