isl_schedule_constraints_compute_schedule: strongly satisfy dependences
commit97432561edd14c0b3c858ddf60ff60e20944b732
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 12 May 2015 09:20:56 +0000 (12 11:20 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 12 May 2015 10:09:00 +0000 (12 12:09 +0200)
tree341204b8ddebc8855feafc314f999bb2bb73ec00
parentf6b45d5c8b236f5fb93f4d358941c18ac3a4dbb3
isl_schedule_constraints_compute_schedule: strongly satisfy dependences

The core scheduling algorithm only ensures that dependences are weakly
satisfied.  In particular, instances of different statements may
still be mapped together.  These statements are therefore separated
apart in a final step by sorting them according to the remaining
dependences.  In some pathological cases, however, different dependences
may impose a different order on the statements.
In such cases, we add an extra schedule row to carry at least one
more dependence.

Reported-by: Tobias Grosser <tobias@grosser.es>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_scheduler.c
isl_test.c