isl_basic_map_align_divs: fix potential invalid access
commit3c336a95ae9c82fc19a78b99c66b3982c495b41b
authorSven Verdoolaege <skimo@kotnet.org>
Sat, 3 Mar 2012 12:55:54 +0000 (3 13:55 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 18 Sep 2012 13:08:21 +0000 (18 15:08 +0200)
treebb6d36c8a433a0fbf0cc8c1314171036678e4b65
parent1a6e77bd5e31b0219b80c145d17c12a7191c5a87
isl_basic_map_align_divs: fix potential invalid access

isl_basic_map_align_divs is currently only called on inputs that are
known not to be NULL, but since we check whether they are NULL anyway,
we might as well only access them after this test.

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