isl_union_set_compute_schedule: handle result with zero bands
commitcc969a737d4f8de258a462c3cb1c063fe2f1c5cf
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 10 Oct 2012 10:36:37 +0000 (10 12:36 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 10 Oct 2012 10:47:56 +0000 (10 12:47 +0200)
treedbc74222b6bc96d38376a950428086dcc083ac43
parent580666aadaa47187a5724f83a412f8074896f90a
isl_union_set_compute_schedule: handle result with zero bands

The code in extract_schedule would assume that there is at least
one band in the resulting schedule.  Skip the parts that depend
on this assumption when the number of bands is zero.

Reported-by: Sameer Sahasrabuddhe <Sameer.Sahasrabuddhe@amd.com>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_schedule.c
isl_test.c