simplify cloog_loop_merge implementation
commit15c65cdac7e19e0e8c180f2bd3776588b75ec36c
authorSven Verdoolaege <skimo@kotnet.org>
Thu, 1 Apr 2010 13:47:48 +0000 (1 15:47 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Thu, 1 Apr 2010 19:10:15 +0000 (1 21:10 +0200)
treeffdcd40565d864e9baf1cc824553f15845b6c06c
parent597ad17ae931716a1cf47f40a3b4de265ffbbcf3
simplify cloog_loop_merge implementation

The original implementation would look at each loop in the list
in turn and decide whether it should be combined with earlier
loops in a convex hull or kept separately.  It's not clear
if this always works as the result may depend on the order
in which the loops are considered.
More importantly, since commit 49dbb13 (cloog_loop_generate: detect
components and generate them separately) there shouldn't be any
for checking whether or not a loop should be combined with another
loop.  If two loops should not be combined here, then they
would have ended up in different components.

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