isl_map_simplify.c: div_is_redundant: ignore coefficients of unknown divs
commit524407531f5680152cef4704a067c97d07ac4f3d
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 16 Apr 2013 09:49:05 +0000 (16 11:49 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 16 Apr 2013 09:49:05 +0000 (16 11:49 +0200)
tree5430a3e2cd76e01b94e5cdd86015419edb9616b0
parent9728d5ebfbb4fb1f73253f5511913881cffc42d1
isl_map_simplify.c: div_is_redundant: ignore coefficients of unknown divs

If a div is unknown, then its coefficients are undefined so we should
not take them into account while checking if some other div is redundant.
In rare cases, looking at those undefined coefficients could result
in system dependent behavior.

Reported-by: Tobias Grosser <tobias@grosser.es>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_map_simplify.c