ppcg.c: eliminate_dead_code: also intersect range of dataflow dependences
commitefe43283acb8c0b6d170a1e7b571881060f22462
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 12 Jan 2015 15:21:47 +0000 (12 16:21 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 13 Jan 2015 10:26:26 +0000 (13 11:26 +0100)
tree7a1b0761873b2c7336ef8bebca09e4128782bd27
parent1d8cc65eed68439e77344e9c27406d9088f6a7b2
ppcg.c: eliminate_dead_code: also intersect range of dataflow dependences

While removing local dataflow, we should also not consider the dataflow
to statement instances that have been eliminated as non-local dataflow.
Instead, it should simply not be considered as dataflow at all.
Remove the eliminated statement instances from the range of the dataflow
as soon as they have been eliminated.

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