isl_scheduler.c: extract out shared add_var_sum_constraint
commite92ec8f4b28e85408ae779733b1435fc9e1594db
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 5 Apr 2016 09:29:12 +0000 (5 11:29 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Sun, 17 Apr 2016 10:31:22 +0000 (17 12:31 +0200)
tree222a3f80b8ebb71199abb8f36318031d45d1ea80
parentfbe52f6d8e607b20cf7da36355ba33af8ca51e7d
isl_scheduler.c: extract out shared add_var_sum_constraint

This removes some code duplication and reduces the size of both setup_lp and
setup_carry_lp.

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