Skip to content

Commit

Permalink
update isl to: isl-0.18-791-ga22eb92
Browse files Browse the repository at this point in the history
This is a regular maintenance update

llvm-svn: 308013
  • Loading branch information
tobiasgrosser committed Jul 14, 2017
1 parent 49db030 commit 231179a
Show file tree
Hide file tree
Showing 12 changed files with 84 additions and 93 deletions.
2 changes: 1 addition & 1 deletion polly/lib/External/isl/GIT_HEAD_ID
@@ -1 +1 @@
isl-0.18-768-g033b61ae
isl-0.18-791-ga22eb92
28 changes: 10 additions & 18 deletions polly/lib/External/isl/config.guess
Expand Up @@ -2,7 +2,7 @@
# Attempt to guess a canonical system name.
# Copyright 1992-2016 Free Software Foundation, Inc.

timestamp='2016-10-02'
timestamp='2016-04-02'

# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -186,12 +186,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
*) machine=${UNAME_MACHINE_ARCH}-unknown ;;
esac
# The Operating System including object format, if it has switched
# to ELF recently (or will in the future) and ABI.
# to ELF recently, or will in the future.
case "${UNAME_MACHINE_ARCH}" in
earm*)
os=netbsdelf
;;
arm*|i386|m68k|ns32k|sh3*|sparc|vax)
arm*|earm*|i386|m68k|ns32k|sh3*|sparc|vax)
eval $set_cc_for_build
if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
| grep -q __ELF__
Expand Down Expand Up @@ -1000,9 +997,6 @@ EOF
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
;;
mips64el:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
openrisc*:Linux:*:*)
echo or1k-unknown-linux-${LIBC}
exit ;;
Expand Down Expand Up @@ -1035,9 +1029,6 @@ EOF
ppcle:Linux:*:*)
echo powerpcle-unknown-linux-${LIBC}
exit ;;
riscv32:Linux:*:* | riscv64:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
s390:Linux:*:* | s390x:Linux:*:*)
echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
exit ;;
Expand Down Expand Up @@ -1417,17 +1408,18 @@ esac
cat >&2 <<EOF
$0: unable to guess system type
This script (version $timestamp), has failed to recognize the
operating system you are using. If your script is old, overwrite
config.guess and config.sub with the latest versions from:
This script, last modified $timestamp, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
and
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
If $0 has already been updated, send the following data and any
information you think might be pertinent to config-patches@gnu.org to
provide the necessary information to handle your system.
If the version you run ($0) is already up to date, please
send the following data and any information you think might be
pertinent to <config-patches@gnu.org> in order to provide the needed
information to handle your system.
config.guess timestamp = $timestamp
Expand Down
22 changes: 6 additions & 16 deletions polly/lib/External/isl/config.sub
Expand Up @@ -2,7 +2,7 @@
# Configuration validation subroutine script.
# Copyright 1992-2016 Free Software Foundation, Inc.

timestamp='2016-11-04'
timestamp='2016-03-30'

# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -117,7 +117,7 @@ case $maybe_os in
nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \
kopensolaris*-gnu* | cloudabi*-eabi* | \
kopensolaris*-gnu* | \
storm-chaos* | os2-emx* | rtmk-nova*)
os=-$maybe_os
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
Expand Down Expand Up @@ -301,7 +301,6 @@ case $basic_machine in
| open8 | or1k | or1knd | or32 \
| pdp10 | pdp11 | pj | pjl \
| powerpc | powerpc64 | powerpc64le | powerpcle \
| pru \
| pyramid \
| riscv32 | riscv64 \
| rl78 | rx \
Expand Down Expand Up @@ -429,7 +428,6 @@ case $basic_machine in
| orion-* \
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
| pru-* \
| pyramid-* \
| riscv32-* | riscv64-* \
| rl78-* | romp-* | rs6000-* | rx-* \
Expand Down Expand Up @@ -645,14 +643,6 @@ case $basic_machine in
basic_machine=m68k-bull
os=-sysv3
;;
e500v[12])
basic_machine=powerpc-unknown
os=$os"spe"
;;
e500v[12]-*)
basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
os=$os"spe"
;;
ebmon29k)
basic_machine=a29k-amd
os=-ebmon
Expand Down Expand Up @@ -1032,7 +1022,7 @@ case $basic_machine in
ppc-* | ppcbe-*)
basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
;;
ppcle | powerpclittle)
ppcle | powerpclittle | ppc-le | powerpc-little)
basic_machine=powerpcle-unknown
;;
ppcle-* | powerpclittle-*)
Expand All @@ -1042,7 +1032,7 @@ case $basic_machine in
;;
ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
;;
ppc64le | powerpc64little)
ppc64le | powerpc64little | ppc64-le | powerpc64-little)
basic_machine=powerpc64le-unknown
;;
ppc64le-* | powerpc64little-*)
Expand Down Expand Up @@ -1399,7 +1389,7 @@ case $os in
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
| -chorusos* | -chorusrdb* | -cegcc* \
| -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
| -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
| -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
| -linux-newlib* | -linux-musl* | -linux-uclibc* \
| -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
Expand All @@ -1409,7 +1399,7 @@ case $os in
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
| -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
| -onefs* | -tirtos* | -phoenix* | -fuchsia*)
| -onefs* | -tirtos*)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx*)
Expand Down
10 changes: 5 additions & 5 deletions polly/lib/External/isl/include/isl/mat.h
Expand Up @@ -27,12 +27,12 @@ isl_ctx *isl_mat_get_ctx(__isl_keep isl_mat *mat);

__isl_give isl_mat *isl_mat_alloc(isl_ctx *ctx,
unsigned n_row, unsigned n_col);
struct isl_mat *isl_mat_dup(struct isl_mat *mat);
__isl_give isl_mat *isl_mat_dup(__isl_keep isl_mat *mat);
struct isl_mat *isl_mat_extend(struct isl_mat *mat,
unsigned n_row, unsigned n_col);
struct isl_mat *isl_mat_identity(struct isl_ctx *ctx, unsigned n_row);
__isl_give isl_mat *isl_mat_copy(__isl_keep isl_mat *mat);
struct isl_mat *isl_mat_cow(struct isl_mat *mat);
__isl_give isl_mat *isl_mat_cow(__isl_take isl_mat *mat);
__isl_null isl_mat *isl_mat_free(__isl_take isl_mat *mat);

int isl_mat_rows(__isl_keep isl_mat *mat);
Expand Down Expand Up @@ -73,9 +73,9 @@ __isl_give isl_mat *isl_mat_right_kernel(__isl_take isl_mat *mat);
__isl_give isl_mat *isl_mat_normalize(__isl_take isl_mat *mat);
__isl_give isl_mat *isl_mat_normalize_row(__isl_take isl_mat *mat, int row);

struct isl_mat *isl_mat_drop_cols(struct isl_mat *mat,
unsigned col, unsigned n);
struct isl_mat *isl_mat_drop_rows(struct isl_mat *mat,
__isl_give isl_mat *isl_mat_drop_cols(__isl_take isl_mat *mat,
unsigned col, unsigned n);
__isl_give isl_mat *isl_mat_drop_rows(__isl_take isl_mat *mat,
unsigned row, unsigned n);
__isl_give isl_mat *isl_mat_insert_cols(__isl_take isl_mat *mat,
unsigned col, unsigned n);
Expand Down
8 changes: 4 additions & 4 deletions polly/lib/External/isl/include/isl/set.h
Expand Up @@ -266,8 +266,8 @@ __isl_give isl_basic_set *isl_set_unshifted_simple_hull_from_set_list(
__isl_take isl_set *set, __isl_take isl_set_list *list);
__isl_give isl_basic_set *isl_set_bounded_simple_hull(__isl_take isl_set *set);

struct isl_set *isl_set_union_disjoint(
struct isl_set *set1, struct isl_set *set2);
__isl_give isl_set *isl_set_union_disjoint(
__isl_take isl_set *set1, __isl_take isl_set *set2);
__isl_export
__isl_give isl_set *isl_set_union(
__isl_take isl_set *set1,
Expand Down Expand Up @@ -337,7 +337,7 @@ __isl_give isl_basic_set *isl_basic_set_eliminate(
enum isl_dim_type type, unsigned first, unsigned n);
__isl_give isl_set *isl_set_eliminate(__isl_take isl_set *set,
enum isl_dim_type type, unsigned first, unsigned n);
struct isl_set *isl_set_eliminate_dims(struct isl_set *set,
__isl_give isl_set *isl_set_eliminate_dims(__isl_take isl_set *set,
unsigned first, unsigned n);
__isl_give isl_set *isl_set_remove_dims(__isl_take isl_set *bset,
enum isl_dim_type type, unsigned first, unsigned n);
Expand Down Expand Up @@ -399,7 +399,7 @@ __isl_give isl_basic_set *isl_basic_set_neg(__isl_take isl_basic_set *bset);
__isl_give isl_set *isl_set_neg(__isl_take isl_set *set);

__isl_give isl_set *isl_set_make_disjoint(__isl_take isl_set *set);
struct isl_set *isl_basic_set_compute_divs(struct isl_basic_set *bset);
__isl_give isl_set *isl_basic_set_compute_divs(__isl_take isl_basic_set *bset);
__isl_give isl_set *isl_set_compute_divs(__isl_take isl_set *set);
ISL_DEPRECATED
__isl_give isl_set *isl_set_align_divs(__isl_take isl_set *set);
Expand Down
2 changes: 1 addition & 1 deletion polly/lib/External/isl/include/isl/vec.h
Expand Up @@ -44,7 +44,7 @@ void isl_vec_dump(__isl_keep isl_vec *vec);
__isl_give isl_printer *isl_printer_print_vec(__isl_take isl_printer *printer,
__isl_keep isl_vec *vec);

struct isl_vec *isl_vec_ceil(struct isl_vec *vec);
__isl_give isl_vec *isl_vec_ceil(__isl_take isl_vec *vec);
struct isl_vec *isl_vec_normalize(struct isl_vec *vec);
__isl_give isl_vec *isl_vec_set_si(__isl_take isl_vec *vec, int v);
__isl_give isl_vec *isl_vec_set_val(__isl_take isl_vec *vec,
Expand Down
28 changes: 15 additions & 13 deletions polly/lib/External/isl/isl_map.c
Expand Up @@ -1173,7 +1173,7 @@ struct isl_basic_set *isl_basic_set_alloc(struct isl_ctx *ctx,
return bset_from_bmap(bmap);
}

struct isl_basic_set *isl_basic_set_alloc_space(__isl_take isl_space *dim,
__isl_give isl_basic_set *isl_basic_set_alloc_space(__isl_take isl_space *dim,
unsigned extra, unsigned n_eq, unsigned n_ineq)
{
struct isl_basic_map *bmap;
Expand Down Expand Up @@ -1853,7 +1853,8 @@ __isl_give isl_basic_map *isl_basic_map_extend_space(
return NULL;
}

struct isl_basic_set *isl_basic_set_extend_space(struct isl_basic_set *base,
__isl_give isl_basic_set *isl_basic_set_extend_space(
__isl_take isl_basic_set *base,
__isl_take isl_space *dim, unsigned extra,
unsigned n_eq, unsigned n_ineq)
{
Expand Down Expand Up @@ -2049,7 +2050,8 @@ __isl_give isl_basic_map *isl_basic_map_set_to_empty(
return NULL;
}

struct isl_basic_set *isl_basic_set_set_to_empty(struct isl_basic_set *bset)
__isl_give isl_basic_set *isl_basic_set_set_to_empty(
__isl_take isl_basic_set *bset)
{
return bset_from_bmap(isl_basic_map_set_to_empty(bset_to_bmap(bset)));
}
Expand Down Expand Up @@ -2171,8 +2173,8 @@ static void constraint_drop_vars(isl_int *c, unsigned n, unsigned rem)
* the div array too as the number of rows in this array is assumed
* to be equal to extra.
*/
struct isl_basic_set *isl_basic_set_drop_dims(
struct isl_basic_set *bset, unsigned first, unsigned n)
__isl_give isl_basic_set *isl_basic_set_drop_dims(
__isl_take isl_basic_set *bset, unsigned first, unsigned n)
{
return isl_basic_map_drop(bset_to_bmap(bset), isl_dim_set, first, n);
}
Expand Down Expand Up @@ -5300,8 +5302,8 @@ int isl_basic_map_add_div_constraint(__isl_keep isl_basic_map *bmap,
return add_lower_div_constraint(bmap, div_pos, bmap->div[div]);
}

struct isl_basic_set *isl_basic_map_underlying_set(
struct isl_basic_map *bmap)
__isl_give isl_basic_set *isl_basic_map_underlying_set(
__isl_take isl_basic_map *bmap)
{
if (!bmap)
goto error;
Expand Down Expand Up @@ -5355,8 +5357,8 @@ __isl_give isl_basic_set_list *isl_basic_map_list_underlying_set(
return list;
}

struct isl_basic_map *isl_basic_map_overlying_set(
struct isl_basic_set *bset, struct isl_basic_map *like)
__isl_give isl_basic_map *isl_basic_map_overlying_set(
__isl_take isl_basic_set *bset, __isl_take isl_basic_map *like)
{
struct isl_basic_map *bmap;
struct isl_ctx *ctx;
Expand Down Expand Up @@ -5425,7 +5427,7 @@ struct isl_basic_set *isl_basic_set_from_underlying_set(
bset_to_bmap(like)));
}

struct isl_set *isl_map_underlying_set(struct isl_map *map)
__isl_give isl_set *isl_map_underlying_set(__isl_take isl_map *map)
{
int i;

Expand Down Expand Up @@ -7597,7 +7599,7 @@ __isl_give isl_map *isl_map_compute_divs(__isl_take isl_map *map)
return res;
}

struct isl_set *isl_basic_set_compute_divs(struct isl_basic_set *bset)
__isl_give isl_set *isl_basic_set_compute_divs(__isl_take isl_basic_set *bset)
{
return set_from_map(isl_basic_map_compute_divs(bset_to_bmap(bset)));
}
Expand Down Expand Up @@ -7778,8 +7780,8 @@ __isl_give isl_map *isl_map_union(__isl_take isl_map *map1,
return isl_map_align_params_map_map_and(map1, map2, &map_union_aligned);
}

struct isl_set *isl_set_union_disjoint(
struct isl_set *set1, struct isl_set *set2)
__isl_give isl_set *isl_set_union_disjoint(
__isl_take isl_set *set1, __isl_take isl_set *set2)
{
return set_from_map(isl_map_union_disjoint(set_to_map(set1),
set_to_map(set2)));
Expand Down

0 comments on commit 231179a

Please sign in to comment.