isl_union_*_add_*: avoid duplicate checks in callers
commit27f9fecaac8ba1fd68c69a6d507afc475469a92e
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 9 Jun 2014 17:33:14 +0000 (9 19:33 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 22 Sep 2014 12:09:38 +0000 (22 14:09 +0200)
tree473484f109d1286b968713f5a5a2199a31c1b771
parent6b483aff197c1bc0407346d091867e0007084800
isl_union_*_add_*: avoid duplicate checks in callers

isl_union_*_add_* already checks if the new part is "zero", so there
is no need to also perform this check in the caller.

Note that "IS_ZERO" simply checks if the number of pieces
in the piecewise expression is zero, so this can never fail.
We check for failures anyway in case this would ever change
in the future and because the callers used to do this.

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