use isl_pw_aff_tdiv_q and isl_pw_aff_tdiv_r instead of open-coded versions
commit7721565fee98c712ddf9c1a5abfeb2ae3fb10e2a
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 12 Sep 2012 18:28:42 +0000 (12 20:28 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Thu, 13 Sep 2012 13:56:45 +0000 (13 15:56 +0200)
treedfb12ac13389200aaea15b63aca991509eeb49d0
parentac30f6a27d662ec40924ba92f5389ca70bedd720
use isl_pw_aff_tdiv_q and isl_pw_aff_tdiv_r instead of open-coded versions

As an added benefit, isl_pw_aff_tdiv_q and isl_pw_aff_tdiv_r allow
slightly more generic second arguments, including negative values.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
scan.cc
tests/div_mod.c [new file with mode: 0644]
tests/div_mod.scop [new file with mode: 0644]