isl_ast_codegen.c: foreach_iteration: handle empty domain
commitf1fd473e90ef90c1f427850ba74729941e4cd0d6
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 28 Apr 2015 15:03:58 +0000 (28 17:03 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 30 Jun 2015 07:43:58 +0000 (30 09:43 +0200)
treeec982b9a31e6f5ba1d5a594133c13164429cfc98
parent87613b9051ff5323f747d13455252f7e855b6c1d
isl_ast_codegen.c: foreach_iteration: handle empty domain

Although the set passed to foreach_iteration should never be empty,
it may become empty after intersection with the build domain.
Handle this case specifically since the default procedure of looking
for a lower bound does not work on an empty set.

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