fix implementation of cloog_loop_scalar_gt
commit4df728f4f71044c43031a53db275d14c8edcd60c
authorSven Verdoolaege <skimo@kotnet.org>
Sat, 12 Dec 2009 19:13:14 +0000 (12 20:13 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 29 Dec 2009 20:07:45 +0000 (29 21:07 +0100)
treea69b1775e95e2f21354b46b684842e27a8e31d79
parent42e0130ff2749da79ef0505596e61074faa43fe2
fix implementation of cloog_loop_scalar_gt

The original implementation would only return 1 if _all_ the constant
dimensions of l1 are greater than those of l2, while it should return 1
as soon as the first constant dimension that is different is also greater.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
source/loop.c
test/Makefile.am
test/isl/lex.c [new file with mode: 0644]
test/lex.cloog [new file with mode: 0644]
test/lex.good.c [new file with mode: 0644]
test/polylib/lex.c [new file with mode: 0644]