tree2scop.c: scop_from_affine_for: delay intersection with affine break
commitfe7e4de013109d78d15e9d319b9a7e10fe1e4b8f
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 1 Jan 2014 15:25:56 +0000 (1 16:25 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 25 Mar 2014 13:36:26 +0000 (25 14:36 +0100)
tree52f7bb1d93d0bcbfa064324301845b3fd083f6d4
parent220f51603c7fef603c7c03969e1418b66b6f85ad
tree2scop.c: scop_from_affine_for: delay intersection with affine break

We want to change the extraction of a pet_scop from a pet_tree
from a bottom-up to a top-down process.
In particular, we want to pass down the domain information derived
from outer constructs to inner constructs.  This domain information
cannot contain any information based on affine breaks since those
breaks are part of the inner constructs.  We will therefore have to
first construct the domain without affine breaks, then construct
a scop for the body and finally adjust the domain based on the affine
breaks.
Here we perform the first step towards this reorganization.
In particular, we split off the intersection with the affine breaks.

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