From 2dfc0ea07f3c979fd7bcd0459f8d0927afe73665 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Thu, 14 Feb 2013 21:23:48 +0100 Subject: [PATCH] isl_band_tile: set parent field of the child band The original code would leave it pointing to the parent of the original band, i.e., the grandparent of the child band. Signed-off-by: Sven Verdoolaege --- isl_band.c | 1 + 1 file changed, 1 insertion(+) diff --git a/isl_band.c b/isl_band.c index 318a7c1..e545a8a 100644 --- a/isl_band.c +++ b/isl_band.c @@ -470,6 +470,7 @@ int isl_band_tile(__isl_keep isl_band *band, __isl_take isl_vec *sizes) child->children = band->children; band->children = list; + child->parent = band; isl_union_pw_multi_aff_free(band->pma); band->pma = sched; -- 2.7.4