isl_aff_remove_unused_divs: use isl_aff_domain_var_offset
commit8117f8515b808742f57032dda129f1889703ba9d
authorSven Verdoolaege <sven@cerebras.net>
Mon, 5 Jun 2023 11:50:38 +0000 (5 13:50 +0200)
committerSven Verdoolaege <sven@cerebras.net>
Sun, 28 Jan 2024 12:51:59 +0000 (28 13:51 +0100)
tree8a14f33dac6a7e9f1ea0fbda620ecfe1bd2f2173
parentf6ce07eefeeb0fe365c1252a2d05481b345dd13b
isl_aff_remove_unused_divs: use isl_aff_domain_var_offset

An upcoming commit will need to index into an array of active variables and
then it is more useful to have the offset of the local variables
within the variables rather than the offset among the coefficients.

Signed-off-by: Sven Verdoolaege <sven@cerebras.net>
isl_aff.c