isl_printer_print_multi_{,pw_}aff: use space of multi for variable names
commit8f581da808b29631c7016d2a38e5251bfe97f2ba
authorSven Verdoolaege <sven.verdoolaege@gmail.com>
Fri, 8 Jun 2018 08:40:46 +0000 (8 10:40 +0200)
committerSven Verdoolaege <sven.verdoolaege@gmail.com>
Fri, 8 Jun 2018 08:44:32 +0000 (8 10:44 +0200)
tree74d260769ae357e4ece38af9e55014f6fba4a42f
parent3c70ee71c571f38d807053fc28e02249e2793ffb
isl_printer_print_multi_{,pw_}aff: use space of multi for variable names

The spaces of the base expressions may have different variable names
compared to those in the space of the multi expression.
Consistently use the names in the space of the multi expression
to avoid printing something that cannot be parsed.

This is similar to the change in isl-0.15-308-ge923e3d5cc
(isl_printer_print_map: use space from outer map for variable names,
Thu Jan 7 12:27:59 2016 +0100).

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
isl_output.c
isl_test.c