isl_ast_build_expr.c: extract_modulos: postpone modification of input
commit89c6eef96fc25ddb2d0767619b657c3d11bf9d68
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 18 Feb 2013 12:13:03 +0000 (18 13:13 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 18 Sep 2013 10:58:10 +0000 (18 12:58 +0200)
tree28771995b243f3bfad837da57ba84467f1877f1a
parent6681d55c848562ccdb755a07710a6943fb8fd51b
isl_ast_build_expr.c: extract_modulos: postpone modification of input

Adding an arbitrary expression to the input affine expression
may change the order of the integer divisions inside that expression.
It should be safer to postpone this addition until after the processing
has finished.

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