pet_expr_tag_access: avoid use of target space
commit82de0216c5b816fc3f0eec7d9df35bcb38283dbf
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 26 Mar 2014 11:59:41 +0000 (26 12:59 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 20 Jun 2014 15:11:20 +0000 (20 17:11 +0200)
treec09f689bb456e533427816577990d55be566e34b
parent537f1cf017f0e3c1720c198475de3ec95bb195a4
pet_expr_tag_access: avoid use of target space

In the next commit, we will change the functions that return
access relations to differentiate between may_read, may_write
and must_write and to return union maps instead of maps.
This means that pet_expr_tag_access will return an isl_union_map and
therefore also take an isl_union_map as input.
We can then no longer refer to the target space of the access relation
as there may be several target spaces.  There is however no need
to refer to this target space.  Perform the tagging directly based
on the domain space.

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