isl_scheduler.c: find_node_coalescing: use half of size for detecting coalescing
commite910e9a41a2a8e45536eeed58acd80af1a580bc6
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 21 Mar 2017 10:09:28 +0000 (21 11:09 +0100)
committerSven Verdoolaege <sven.verdoolaege@gmail.com>
Thu, 25 May 2017 14:13:31 +0000 (25 16:13 +0200)
treee1aef17b757d63e346e932371c88549edc9355d0
parent9f7b2cc3cb38cbd5d6eb65ba1e5acfb27d3a9d53
isl_scheduler.c: find_node_coalescing: use half of size for detecting coalescing

When preventing coalescing in the Pluto-like scheduler, half the minimal size
in the other directions is used as a limit on the schedule coefficients
(rather than the minimal size itself) in order to prevent cases of
near-coalescing.
Do the same when detecting coalescing in the Feautrier fallback
for consistency.

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