[Polly] Update isl to isl-0.27-89-gdc16f8e3 (#188013)
Update isl to include https://repo.or.cz/isl.git/commit/ee3677039011f2f87f3630f8b2a004f9e4944a08 which fixes #187216 Closes #187216 Thanks @skimo-openhub for the fix and @thapgua for the bugreport.
This commit is contained in:
parent
733bc3409b
commit
bd6e8a8c66
2
polly/lib/External/isl/GIT_HEAD_ID
vendored
2
polly/lib/External/isl/GIT_HEAD_ID
vendored
@ -1 +1 @@
|
||||
isl-0.27-86-gcf471c16
|
||||
isl-0.27-89-gdc16f8e3
|
||||
|
||||
7
polly/lib/External/isl/isl_map.c
vendored
7
polly/lib/External/isl/isl_map.c
vendored
@ -11590,10 +11590,9 @@ static __isl_give isl_map *map_product(__isl_take isl_map *map1,
|
||||
struct isl_basic_map *part;
|
||||
part = basic_map_product(isl_basic_map_copy(map1->p[i]),
|
||||
isl_basic_map_copy(map2->p[j]));
|
||||
if (isl_basic_map_is_empty(part))
|
||||
isl_basic_map_free(part);
|
||||
else
|
||||
result = isl_map_add_basic_map(result, part);
|
||||
if (isl_basic_map_is_empty(part) < 0)
|
||||
part = isl_basic_map_free(part);
|
||||
result = isl_map_add_basic_map(result, part);
|
||||
if (!result)
|
||||
goto error;
|
||||
}
|
||||
|
||||
8
polly/lib/External/isl/isl_tab.c
vendored
8
polly/lib/External/isl/isl_tab.c
vendored
@ -105,16 +105,18 @@ isl_ctx *isl_tab_get_ctx(struct isl_tab *tab)
|
||||
int isl_tab_extend_cons(struct isl_tab *tab, unsigned n_new)
|
||||
{
|
||||
unsigned off;
|
||||
isl_ctx *ctx;
|
||||
|
||||
if (!tab)
|
||||
return -1;
|
||||
|
||||
off = 2 + tab->M;
|
||||
|
||||
ctx = isl_tab_get_ctx(tab);
|
||||
if (tab->max_con < tab->n_con + n_new) {
|
||||
struct isl_tab_var *con;
|
||||
|
||||
con = isl_realloc_array(tab->mat->ctx, tab->con,
|
||||
con = isl_realloc_array(ctx, tab->con,
|
||||
struct isl_tab_var, tab->max_con + n_new);
|
||||
if (!con)
|
||||
return -1;
|
||||
@ -128,14 +130,14 @@ int isl_tab_extend_cons(struct isl_tab *tab, unsigned n_new)
|
||||
tab->n_row + n_new, off + tab->n_col);
|
||||
if (!tab->mat)
|
||||
return -1;
|
||||
row_var = isl_realloc_array(tab->mat->ctx, tab->row_var,
|
||||
row_var = isl_realloc_array(ctx, tab->row_var,
|
||||
int, tab->mat->n_row);
|
||||
if (!row_var)
|
||||
return -1;
|
||||
tab->row_var = row_var;
|
||||
if (tab->row_sign) {
|
||||
enum isl_tab_row_sign *s;
|
||||
s = isl_realloc_array(tab->mat->ctx, tab->row_sign,
|
||||
s = isl_realloc_array(ctx, tab->row_sign,
|
||||
enum isl_tab_row_sign, tab->mat->n_row);
|
||||
if (!s)
|
||||
return -1;
|
||||
|
||||
2
polly/lib/External/isl/isl_tab_pip.c
vendored
2
polly/lib/External/isl/isl_tab_pip.c
vendored
@ -222,6 +222,8 @@ static void sol_free(struct isl_sol *sol)
|
||||
static void sol_context_add_eq(struct isl_sol *sol, isl_int *eq, int check,
|
||||
int update)
|
||||
{
|
||||
if (sol->error)
|
||||
return;
|
||||
sol->context->op->add_eq(sol->context, eq, check, update);
|
||||
if (!sol->context->op->is_ok(sol->context))
|
||||
sol->error = 1;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user