[polly] r301433 - Update to isl-0.18-423-g30331fe
Tobias Grosser via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 26 10:08:03 PDT 2017
Author: grosser
Date: Wed Apr 26 12:08:02 2017
New Revision: 301433
URL: http://llvm.org/viewvc/llvm-project?rev=301433&view=rev
Log:
Update to isl-0.18-423-g30331fe
This is just a general maintenance update.
Modified:
polly/trunk/lib/External/isl/GIT_HEAD_ID
polly/trunk/lib/External/isl/isl_map.c
polly/trunk/lib/External/isl/isl_map_private.h
polly/trunk/lib/External/isl/isl_map_simplify.c
Modified: polly/trunk/lib/External/isl/GIT_HEAD_ID
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/External/isl/GIT_HEAD_ID?rev=301433&r1=301432&r2=301433&view=diff
==============================================================================
--- polly/trunk/lib/External/isl/GIT_HEAD_ID (original)
+++ polly/trunk/lib/External/isl/GIT_HEAD_ID Wed Apr 26 12:08:02 2017
@@ -1 +1 @@
-isl-0.18-417-gb9e7334
+isl-0.18-423-g30331fe
Modified: polly/trunk/lib/External/isl/isl_map.c
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/External/isl/isl_map.c?rev=301433&r1=301432&r2=301433&view=diff
==============================================================================
--- polly/trunk/lib/External/isl/isl_map.c (original)
+++ polly/trunk/lib/External/isl/isl_map.c Wed Apr 26 12:08:02 2017
@@ -3966,8 +3966,11 @@ __isl_give isl_basic_map *isl_basic_map_
if (!bmap)
return NULL;
- if (n == 0)
+ if (n == 0) {
+ bmap = isl_basic_map_reset(bmap, src_type);
+ bmap = isl_basic_map_reset(bmap, dst_type);
return bmap;
+ }
if (isl_basic_map_check_range(bmap, src_type, src_pos, n) < 0)
return isl_basic_map_free(bmap);
@@ -4077,8 +4080,11 @@ __isl_give isl_map *isl_map_move_dims(__
if (!map)
return NULL;
- if (n == 0)
+ if (n == 0) {
+ map = isl_map_reset(map, src_type);
+ map = isl_map_reset(map, dst_type);
return map;
+ }
isl_assert(map->ctx, src_pos + n <= isl_map_dim(map, src_type),
goto error);
@@ -12053,6 +12059,7 @@ static __isl_give isl_basic_map *isl_bas
isl_aff_free(aff);
if (rational)
bmap = isl_basic_map_set_rational(bmap);
+ bmap = isl_basic_map_gauss(bmap, NULL);
bmap = isl_basic_map_finalize(bmap);
return bmap;
error:
Modified: polly/trunk/lib/External/isl/isl_map_private.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/External/isl/isl_map_private.h?rev=301433&r1=301432&r2=301433&view=diff
==============================================================================
--- polly/trunk/lib/External/isl/isl_map_private.h (original)
+++ polly/trunk/lib/External/isl/isl_map_private.h Wed Apr 26 12:08:02 2017
@@ -161,6 +161,8 @@ __isl_give isl_map *isl_map_realign(__is
__isl_give isl_set *isl_set_realign(__isl_take isl_set *set,
__isl_take isl_reordering *r);
+__isl_give isl_basic_map *isl_basic_map_reset(__isl_take isl_basic_map *bmap,
+ enum isl_dim_type type);
__isl_give isl_map *isl_map_reset(__isl_take isl_map *map,
enum isl_dim_type type);
Modified: polly/trunk/lib/External/isl/isl_map_simplify.c
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/External/isl/isl_map_simplify.c?rev=301433&r1=301432&r2=301433&view=diff
==============================================================================
--- polly/trunk/lib/External/isl/isl_map_simplify.c (original)
+++ polly/trunk/lib/External/isl/isl_map_simplify.c Wed Apr 26 12:08:02 2017
@@ -4216,6 +4216,9 @@ error:
*
* After all constraints have been modified, we drop the lower and upper
* bound and then drop div1.
+ * Since the new div is only placed in the same location that used
+ * to store div2, but otherwise has a different meaning, any possible
+ * explicit representation of the original div2 is removed.
*/
static struct isl_basic_map *coalesce_divs(struct isl_basic_map *bmap,
unsigned div1, unsigned div2, unsigned l, unsigned u)
@@ -4260,6 +4263,7 @@ static struct isl_basic_map *coalesce_di
isl_basic_map_drop_inequality(bmap, u);
isl_basic_map_drop_inequality(bmap, l);
}
+ bmap = isl_basic_map_mark_div_unknown(bmap, div2);
bmap = isl_basic_map_drop_div(bmap, div1);
return bmap;
}
More information about the llvm-commits
mailing list