isl_ast_codegen.c: refine_generic: hoist out gisting of bounds
commit39d900afe3efd7e508d1e31062fa82dce2d9ae51
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 29 Jul 2014 09:38:11 +0000 (29 11:38 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Sat, 16 Aug 2014 14:07:27 +0000 (16 16:07 +0200)
tree8790a7fdb7f0140ca33d16fef5377e7ffe88bff5
parentd102be924ffd45923e1bb76d127ec173a8779dd2
isl_ast_codegen.c: refine_generic: hoist out gisting of bounds

In a future commit, we will be passing a different build to
refine_generic that is suitable for deciding how the bounds
should be printed, but not quite suitable for deciding which
constraints to print since its domain may have fewer constraints
and therefore fewer opportunities to remove constraints.
We therefore hoist out the gisting of the bounds so that we
can continue doing so with respect to the same build even
when we pass a different build to refine_generic.

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