tree2scop.c: is_simple_bound: handle higher dimensional domains
commit0380c70a466bc6053a2052f00d2ee3a545f2091c
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 11 Mar 2014 13:44:29 +0000 (11 14:44 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 25 Mar 2014 13:36:28 +0000 (25 14:36 +0100)
tree5a289cfd1ff5c1d25f52b26b6e218ad08e64488c
parentcb37049ad89154e40b846e4cba5384d4d5dad195
tree2scop.c: is_simple_bound: handle higher dimensional domains

Currently, the input set of is_simple_bound 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