clast.c: insert extra modulo guards involving loop iterator inside loop
commit256fcba171ffba5b43cc879fc28cc3740093b4b3
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 11 Mar 2009 08:33:53 +0000 (11 09:33 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 20 Mar 2009 16:58:26 +0000 (20 17:58 +0100)
treeb39ad7b3ad01d1671f7e6575d739051cce87c5a1
parent36eb0219456a57c12575f32dd08e12a4ddf42db8
clast.c: insert extra modulo guards involving loop iterator inside loop

This change is only relevant for the isl backend, where the domains
to be scanned may have existentially quantified variables.
Commit 57a3999baa11aff9af7101d66f884c5d14898dff (clast.c: insert_guard:
insert modulo guards based on existential variables first) ensured
that CLooG would generate the corresponding modulo guards.
However, all guards were inserted before the loop, while a modulo
constraint involving the loop iterator should of course be inserted
inside the loop.

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