isl_printer_print_pw_aff: use isl_ast_build_expr_from_pw_aff in C format
commit802ce4135e3faf70f9c2d2a82f581fd8f642054c
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 26 May 2014 15:05:26 +0000 (26 17:05 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 29 Aug 2014 11:55:05 +0000 (29 13:55 +0200)
tree433a0a30ff711d72bf8f7413a982cf41bcb4fcda
parentd4bb38caa0cbe47f1daaa89c560791e906bb7a71
isl_printer_print_pw_aff: use isl_ast_build_expr_from_pw_aff in C format

In 554e4d0 (isl_printer_print_pw_aff: use isl_ast_expr when printing in
C format, Mon May 14 17:30:25 2012 +0200), we already changed
print_pw_aff_c to first convert each of the quasi-affine expressions
to an isl_ast_expr.  Since then, the construction of isl_ast_expr
from an isl_set has also been improved, so we may as well
just call isl_ast_build_expr_from_pw_aff on the entire isl_pw_aff
to take advantage of these improvements too.

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