pet_check_code: better support for schedules that are not single valued
commit46ef0d912600b77038154d4a2b7d1cf6e2b4df5c
authorSven Verdoolaege <skimo@kotnet.org>
Sun, 31 Mar 2013 16:19:17 +0000 (31 18:19 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 9 Apr 2013 13:47:23 +0000 (9 15:47 +0200)
treecdd5c01cc777d0ac6ede0577e73a9912494a6efc
parent0e7ec30e62379a9cc8a33f07bc540c488cfe4b69
pet_check_code: better support for schedules that are not single valued

The check for whether the schedule order is respected by the generated code
could fail on correct code if the schedule is not single valued because
different schedulings of the same statement instance may be in different
positions compared to other statement instances.

We include a different test that should work in general, but we only
apply it when the schedule is not single valued since it is considerably
more expensive.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
pet_check_code.c