isl_ast_build_set_loop_bounds: extract out update of pending and generated
commitddd996c4c9374ff866ae56f8ec2ce3e0cf1b5b6a
authorSven Verdoolaege <skimo@kotnet.org>
Thu, 16 Jul 2015 17:54:49 +0000 (16 19:54 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 17 Jul 2015 06:37:20 +0000 (17 08:37 +0200)
tree81ee77af112875f54d002624c28bbf54ede2b238
parent172b680822c3b8e6c30e3b6dff519b2299938ef4
isl_ast_build_set_loop_bounds: extract out update of pending and generated

This allows the caller to perform some operations between the detection
of whether the loop is degenerate or eliminated and the update
of the pending and generated sets.  In particular, it will allow
the effect of the next commit to be minimized.
The specialization of the bounds also needs to be extracted out
since the specialized version is used both in
isl_ast_build_set_loop_bounds and in the new
isl_ast_build_set_pending_generated.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_ast_build.c
isl_ast_build_private.h
isl_ast_codegen.c