tree2scop.c: scop_from_affine_for: delay construction of condition pet_scop
commit7185b5de4b106cf0adcf1ca53bc6b31cd58aaebc
authorSven Verdoolaege <skimo@kotnet.org>
Thu, 2 Jan 2014 08:27:59 +0000 (2 09:27 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 25 Mar 2014 13:36:26 +0000 (25 14:36 +0100)
tree25f5815441ec91382c932f69e2b5bf360c8fe00c
parentf8bf81fd961e4f8df771a010b51dbfdc27d27c20
tree2scop.c: scop_from_affine_for: delay construction of condition pet_scop

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 means we have
to construct the pet_scop for the non-affine condition (if any)
after the domain has been constructed, but still before the pet_scop
for the body is constructed.

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