isl_schedule_get_map: pad schedule map with zeros if reconstructed from bands
commit1720b137e3433e8baf2558d480846715e76eafba
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 9 Apr 2013 15:37:35 +0000 (9 17:37 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 9 Apr 2013 15:44:07 +0000 (9 17:44 +0200)
tree7ef1ab182abb1b47900266f6e2d48aae483d8959
parentaa7b5cfe601366e53f9bc5e19c4f61badb557f8d
isl_schedule_get_map: pad schedule map with zeros if reconstructed from bands

The schedule map extracted from the isl_schedule_nodes is padded with zeros
by construction.  However, if the schedule map is reconstructed from the
band forest, then the schedule map was not be padded with zeros.
Pad this schedule as well.

We may want to change isl_band_list_get_suffix_schedule to perform this
padded instead.

Reported-by: Ali El Moussawi <elmoussawi.ali@gmail.com>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_schedule.c
isl_test.c