gpu: do not collect accesses of killed statements
commitb2658471e4cd6edc77ce327946eb2a52e89fe252
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 21 Mar 2016 09:57:07 +0000 (21 10:57 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 25 Mar 2016 11:59:34 +0000 (25 12:59 +0100)
tree073d7b20ddb6fe37ee460f0b67e3c5180276ee04
parentf45d1c1f7ee1a48c26b92684b2d875da49dec123
gpu: do not collect accesses of killed statements

The accesses performed by statements that have been killed completely
are not relevant for code generation at all.  This includes, in particular,
the kill accesses from kill statements.  Removing those kill accesses
from consideration will be important for detecting which arrays
are only accessed through fixed index expressions because a kill access
will typically access the entire array.

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