allow nested accesses in if conditions
commit95b45c1af5328c7f2db2ee81ad682265f3db5c68
authorSven Verdoolaege <skimo@kotnet.org>
Thu, 3 Nov 2011 11:04:21 +0000 (3 12:04 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Thu, 17 Nov 2011 09:45:29 +0000 (17 10:45 +0100)
tree31338a8424e9613518b531e50fb1a28d1f02fc52
parentc6641a940f307d773e8c0b19092a3bb13aa191cd
allow nested accesses in if conditions

Before, we would treat any non-static condition as a non-affine
condition, introduce an extra statement to evaluate the condition
and represent the result by a boolean "argument" of the iteration domain.
This hides the condition inside that statement and therefore makes
is difficult to figure out any possible relations between different
conditions in the code.

We now also allow iteration domain arguments to refer directly to any
nested access in an otherwise affine condition.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
scan.cc
scan.h
tests/wdp.scop