PetScan::extract_for: compute gist before testing whether bound is simple
commit2fcd4265625a26c1a21172d1cf70eebb89cc29e5
authorSven Verdoolaege <skimo@kotnet.org>
Thu, 19 Jan 2012 13:46:07 +0000 (19 14:46 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 6 Mar 2012 11:55:50 +0000 (6 12:55 +0100)
tree9496f5bc4ff587df54cd67d0f183608a17d83d7d
parente6b6c5fc32e8f49da465b3afa1da680ddf0b1d7e
PetScan::extract_for: compute gist before testing whether bound is simple

We only need to check whether the constraint(s) in the loop condition
that are not already implied by the initial value and the increment
are simple.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
scan.cc