isl_map_partial_lexopt_aligned_pw_multi_aff: do not compute empty set when NULL
commit7fb651fe3f6a2a9bb3eab6899047ea6b1f5a0b11
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 9 Mar 2016 11:39:09 +0000 (9 12:39 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Thu, 10 Mar 2016 13:21:15 +0000 (10 14:21 +0100)
treed8e32fbac65bbd8f094faecfb9d1be9143fa6ef5
parent190636e28acf3a5b00caf86e2b2ec44275be556f
isl_map_partial_lexopt_aligned_pw_multi_aff: do not compute empty set when NULL

isl_map_partial_lexopt_aligned_pw_multi_aff is called with a NULL value
for the "empty" pointer from isl_map_lexopt_pw_multi_aff in
isl_map_lexopt_templ.c.  In this case, it makes no sense to compute
the value that would be returned, only to forgot about it at the very end.
Do not compute this set at all if it is not requested by the caller.

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