move lower-bounds fix-up from cloog_loop_stride to clast generation
commitfca021e8632708305f6d73a1087f2e05258f586e
authorSven Verdoolaege <skimo@kotnet.org>
Sat, 9 Jan 2010 16:07:59 +0000 (9 17:07 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 26 Jan 2010 12:37:52 +0000 (26 13:37 +0100)
tree82606ee3837baad1851485e66c95770bc9558695
parent99a4a231f7f5947215ff40f9f684b185794b2da5
move lower-bounds fix-up from cloog_loop_stride to clast generation

Updating the lower bound in cloog_loop_stride was a bit fragile
as it depends on the backend not changing the constraints in any
way later on.  If a backend fails to detect all stride information,
we could end up generating wrong code too.
By postponing the update to the point where we
actually write out the lower-bound, we avoid these problems.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
include/cloog/domain.h
source/clast.c
source/isl/domain.c
source/loop.c
source/polylib/domain.c