tree2scop.c: after: handle higher dimensional domains
commita9cf3b326229daa2c1402c4adcee09331c442233
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 11 Mar 2014 11:32:27 +0000 (11 12:32 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 25 Mar 2014 13:36:28 +0000 (25 14:36 +0100)
tree7078812bcffb65ca72975136daec551eb31d4b89
parent9669dbed462b22cec66ecf664522ac91147afda2
tree2scop.c: after: handle higher dimensional domains

Currently, the input set of after is always single-dimensional.
However, when we change the extraction of a pet_scop from a pet_tree
from a bottom-up process to a top-down process, the dimension
of this set will be equal to the number of outer loops,
including the current loop.
We therefore need to take into account that the dimension of
the input may be greater than 1.

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