isl_ast_expr_mod: perform missing multiplication
commit330f521cb22bea1509fdbafaf78ee99a5f2c0ead
authorSven Verdoolaege <skimo@kotnet.org>
Fri, 21 Sep 2012 16:11:07 +0000 (21 18:11 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Sat, 22 Sep 2012 17:16:43 +0000 (22 19:16 +0200)
treec13683b71f6ae4c06eda3ffe78cd9971b8c2ab17
parent6159c9222ecc6f86f3152de7396b3cd8b234f7a5
isl_ast_expr_mod: perform missing multiplication

The function was documented as multiplying the constructed modulo expression
by the first argument, but failed to do so.
The problem went unnoticed because the first argument is usually equal to 1.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_ast_build_expr.c
test_inputs/codegen/mod.c [new file with mode: 0644]
test_inputs/codegen/mod.in [new file with mode: 0644]