pet_expr_is_affine: avoid using access relation
commit9e36da6ee6182dbe6e6915d28b52e4eb0c5e4d38
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 26 Mar 2014 10:12:19 +0000 (26 11:12 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 20 Jun 2014 14:29:16 +0000 (20 16:29 +0200)
treeae4e9d2d41c5bbb20ca709329f2db66956236a80
parentc6ec35e18351f5d647fb4bcba3b78156e2f75b28
pet_expr_is_affine: avoid using access relation

In a future commit, we will only keep track of access relation(s)
when they cannot be trivially derived from the index expression.
Check the index expression instead of the access relation.

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