Skip to content

Commit a749e09

Browse files
committed
[Polly] Update ISL to isl-0.25-193-g8621c60c.
The bugfix https://reviews.llvm.org/D142308 might already have been fixed upstream.
1 parent eebb2e3 commit a749e09

File tree

172 files changed

+11148
-5972
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

172 files changed

+11148
-5972
lines changed

polly/lib/External/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,8 @@ if (POLLY_BUNDLED_ISL)
254254
isl/isl_schedule_read.c
255255
isl/isl_schedule_tree.c
256256
isl/isl_scheduler.c
257+
isl/isl_scheduler_clustering.c
258+
isl/isl_scheduler_scc.c
257259
isl/isl_seq.c
258260
isl/isl_set_list.c
259261
isl/isl_set_to_ast_graft_list.c

polly/lib/External/isl/AUTHORS

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,22 @@ isl was written by
2323
Domaine de Voluceau - Rocquencourt, B.P. 105
2424
78153 Le Chesnay
2525
France
26-
2015-2020 Polly Labs
27-
2018-2020 Cerebras Systems
26+
2015-2022 Polly Labs
27+
2018-2021 Cerebras Systems
2828
175 S San Antonio Rd
2929
Los Altos, CA
3030
USA
31+
2021-2022 Cerebras Systems
32+
1237 E Arques Ave
33+
Sunnyvale, CA
34+
USA
3135

3236
Contributions by
3337

3438
Mythri Alle
3539
Riyadh Baghdadi
3640
Serge Belyshev
41+
Basile Clement
3742
Albert Cohen
3843
Ray Donnelly
3944
Johannes Doerfert
@@ -49,6 +54,7 @@ Michael Kruse
4954
Manjunath Kudlur
5055
Alexander Matz
5156
Chielo Newctle
57+
Riccardo Mori
5258
Sebastian Pop
5359
Louis-Noel Pouchet
5460
Benoit Pradelle
@@ -59,6 +65,7 @@ Malhar Thakkar
5965
Sergei Trofimovich
6066
Miheer Vaidya
6167
Sven van Haastregt
68+
Matt Whitlock
6269
Oleksandr Zinenko
6370

6471
The merge sort implementation was written by Jeffrey Stedfast.

polly/lib/External/isl/ChangeLog

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
version: 0.25
2+
date: Sat 02 Jul 2022 11:14:57 AM CEST
3+
changes:
4+
- support (type safe) user object on id in bindings
5+
- more exports to (templated C++) bindings
6+
- add some convenience functions
7+
---
18
version: 0.24
29
date: Sun 25 Apr 2021 03:56:37 PM CEST
310
changes:

polly/lib/External/isl/GIT_HEAD_ID

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
isl-0.24-69-g54aac5ac
1+
isl-0.25-193-g8621c60c

polly/lib/External/isl/all.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include <isl/id.h>
2+
#include <isl/id_to_id.h>
23
#include <isl/space.h>
34
#include <isl/val.h>
45
#include <isl/aff.h>

polly/lib/External/isl/basis_reduction_templ.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,7 @@ struct isl_tab *isl_tab_compute_reduced_basis(struct isl_tab *tab)
155155
GBR_lp_get_obj_val(lp, &F_new);
156156
fixed = GBR_lp_is_fixed(lp);
157157
GBR_set_ui(alpha, 0);
158-
} else
159-
if (use_saved) {
158+
} else if (use_saved) {
160159
row = GBR_lp_next_row(lp);
161160
GBR_set(F_new, F_saved);
162161
fixed = fixed_saved;

polly/lib/External/isl/cpp/cpp-checked.h.top

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717
#include <string>
1818
#include <type_traits>
1919

20+
#if __cplusplus >= 201703L
21+
#include <any>
22+
#include <optional>
23+
#endif
24+
2025
namespace isl {
2126
namespace checked {
2227

@@ -95,18 +100,23 @@ inline boolean manage(isl_bool val) {
95100
}
96101

97102
class ctx {
98-
isl_ctx *ptr;
103+
isl_ctx *ptr;
99104
public:
100-
/* implicit */ ctx(isl_ctx *ctx)
101-
: ptr(ctx) {}
102-
isl_ctx *release() {
103-
auto tmp = ptr;
104-
ptr = nullptr;
105-
return tmp;
106-
}
107-
isl_ctx *get() {
108-
return ptr;
109-
}
105+
/* implicit */ ctx(isl_ctx *ctx) : ptr(ctx) {}
106+
isl_ctx *release() {
107+
auto tmp = ptr;
108+
ptr = nullptr;
109+
return tmp;
110+
}
111+
isl_ctx *get() {
112+
return ptr;
113+
}
114+
#if __cplusplus >= 201703L
115+
static void free_user(void *user) {
116+
std::any *p = static_cast<std::any *>(user);
117+
delete p;
118+
}
119+
#endif
110120
};
111121

112122
/* Class encapsulating an isl_stat value.

polly/lib/External/isl/cpp/cpp.h.top

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@
1818
#include <string>
1919
#include <type_traits>
2020

21+
#if __cplusplus >= 201703L
22+
#include <any>
23+
#include <optional>
24+
#endif
25+
2126
/* ISL_USE_EXCEPTIONS should be defined to 1 if exceptions are available.
2227
* gcc and clang define __cpp_exceptions; MSVC and xlC define _CPPUNWIND.
2328
* Older versions of gcc (e.g., 4.9) only define __EXCEPTIONS.
@@ -46,6 +51,12 @@ public:
4651
isl_ctx *get() {
4752
return ptr;
4853
}
54+
#if __cplusplus >= 201703L
55+
static void free_user(void *user) {
56+
std::any *p = static_cast<std::any *>(user);
57+
delete p;
58+
}
59+
#endif
4960
};
5061

5162
/* Macros hiding try/catch.

polly/lib/External/isl/doc/isl.bib

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ @article{Woods2003short
198198
@misc{barvinok-0.22,
199199
author = {Sven Verdoolaege},
200200
title = {{\texttt{barvinok}}, version 0.22},
201-
howpublished = {Available from \url{http://barvinok.gforge.inria.fr/}},
201+
howpublished = {Available from \url{https://barvinok.sourceforge.io/}},
202202
year = 2006
203203
}
204204

@@ -437,7 +437,7 @@ @inproceedings{Verdoolaege2014impact
437437
year = 2014,
438438
month = Jan,
439439
address = {Vienna, Austria},
440-
url = {http://impact.gforge.inria.fr/impact2014/papers/impact2014-verdoolaege.pdf},
440+
url = {https://acohen.gitlabpages.inria.fr/impact/impact2014/papers/impact2014-verdoolaege.pdf},
441441
abstract = {
442442
Schedules in the polyhedral model, both those that represent the original
443443
execution order and those produced by scheduling algorithms, naturally have the

0 commit comments

Comments
 (0)