isl_ast_graft_list_extract_hoistable_guard: handle call outside band
commitc1dc72183bb98b10f123dd16a882c3a517fcc632
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 2 Oct 2013 08:33:31 +0000 (2 10:33 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Thu, 26 Feb 2015 09:15:27 +0000 (26 10:15 +0100)
tree306f08ef250a6d791bc79cb10506f31d1e31db87
parent4df6dff88d633c799406c5f851d2a8d503f60be5
isl_ast_graft_list_extract_hoistable_guard: handle call outside band

When we introduce context nodes, we will be calling
isl_ast_graft_list_extract_hoistable_guard from outside any band node,
meaning that the depth of the current build may point beyond the
innermost outer band and we need to handle this possibility.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_ast_graft.c