isl_scheduler.c: compute_max_coefficient: round up half of minimal size
commit31d3a194cf8c7b8bf7c2e52af69336bcb3adf776
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 10 Apr 2017 10:16:25 +0000 (10 12:16 +0200)
committerSven Verdoolaege <sven.verdoolaege@gmail.com>
Thu, 25 May 2017 14:13:31 +0000 (25 16:13 +0200)
treeb9f8ddb85ec9dbed78fd42e3f6c93e07cc780327
parente69a5da9e2593946366674c95c61378462b8c7b8
isl_scheduler.c: compute_max_coefficient: round up half of minimal size

Taking half is just a heuristic, but when the size is one,
the maximal coefficient should still be one rather than zero.
Rounding up is simpler than rounding down and then
adding a special case for one.

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