Allow original user statements to carry pointers
commitdf03f32147ec6c71b3da7e761036b70f880c5f74
authorTobias Grosser <tobias@grosser.es>
Mon, 18 May 2015 12:26:43 +0000 (18 14:26 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 18 May 2015 12:53:03 +0000 (18 14:53 +0200)
tree2c811d16c798e5eb0502f23ae760772d9dc1d3b1
parent4da535270e56c2007c1242f324d30df07fca0c2c
Allow original user statements to carry pointers

PPCG recognizes original user statements by the fact that their ids do
not carry a pointer value. To make PPCG more robust against future changes,
we want it to not depend on ids not carrying a pointer value. Instead of
assuming user statements are only carrying NULL pointers, we now check
in the list of statements if there is a gpu statement that corresponds
to the given isl id.

Signed-off-by: Tobias Grosser <tobias@grosser.es>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
gpu.c