turn virtual scalars into virtual arrays
commit80aae0b3a178cfe759777a7b9294800bee49a16a
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 19 Oct 2011 13:08:53 +0000 (19 15:08 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 2 Nov 2011 16:19:15 +0000 (2 17:19 +0100)
tree111c87947f57e3831583b245010ac97e8ce27ad9
parent880d5aec32e808d8d38f560e437061de742691e3
turn virtual scalars into virtual arrays

There is no point in requiring a dependence analysis to find
out which statement instance wrote the value of the virtual scalar
for a given iteration of a depending statement.
During construction, we know which statement instance is involved,
so we may just as well use that instance as the index into the
virtual array.  Note that this makes the virtual arrays single
assignment.

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