cloog_loop_merge: keep loops in original order if possible
commit223c3393841ccde431a2da4ee5706d1db286931e
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 19 Apr 2006 16:18:54 +0000 (19 18:18 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Sun, 23 Apr 2006 10:37:23 +0000 (23 12:37 +0200)
tree5cba4fb119981c429a55681e0ecf7736c75e6a84
parent6fc55e45bff622801302c28b8615349ba73a107d
cloog_loop_merge: keep loops in original order if possible

cloog_loop_merge collects loops with intersecting domains.
Previously, it was possible for the order of the loops
within such a collection to be different from the original order.
Although this would only happen when the order is of no importance,
it could be confusing for a user to see that the statements are
generated in a different order for no apparent reason.

This patch keeps the loops within a collection
in the order of the list passed to cloog_loop_merge.
source/loop.c
test/makefile
test/merge.c [new file with mode: 0644]
test/merge.cloog [new file with mode: 0644]