cloog_loop_generate_general: split off cloog_loop_recurse
commit50dc16caadeb2cf69b9871af36a2402d51d70fcf
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 11 May 2011 14:07:46 +0000 (11 16:07 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Sat, 14 May 2011 13:38:31 +0000 (14 15:38 +0200)
tree04cffdab2ec796b042d78dee99e9ab1aac7410eb
parentaa8d355266da54d2f910f98a7fceeb5c003cc736
cloog_loop_generate_general: split off cloog_loop_recurse

Arguably, cloog_loop_generate_general is too long and complicated already,
but it would become even more so after adding support for unrolling.
Furthermore, we will want to perform unrolling after stride detection,
meaning that a single loop may be split into a list of loops.
It will then be convenient to simply call the split off function
recursively.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
source/loop.c