isl_scheduler.c: isl_sched_node: replace sched_map by band_sched
commitba035413335952f44f8dae5b303f262512349f1f
authorSven Verdoolaege <sven.verdoolaege@gmail.com>
Tue, 12 Sep 2017 16:50:18 +0000 (12 18:50 +0200)
committerSven Verdoolaege <sven.verdoolaege@gmail.com>
Wed, 1 Nov 2017 21:26:36 +0000 (1 22:26 +0100)
tree9f9f7e26073b087920fe975f7a7cfbd03afe6f9d
parentc3c7eafe319c6a46dfe546fc009fcdc655fecf0b
isl_scheduler.c: isl_sched_node: replace sched_map by band_sched

The field sched_map is the value cached by node_extract_schedule,
which is used to restrict dependences to those mapped to the same
value by the current schedule.  However, after the construction
of a band is completed, all dependence relations are already
updated to pairs with equal schedule values at that point.
During the construction of a band, only the effect of the current band
therefore needs to be taken into account.
Replace node_extract_schedule by node_extract_band_schedule and
change the isl_sched_node field accordingly.

This change removes the final use of the current schedule as a whole
for purposes other than avoiding linear dependence of schedule rows.
This will make it possible to include the information derived
from the prefix schedule constraint without having to worry that
it might have any effects beyond the linear dependence avoidance.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
isl_scheduler.c