diff options
author | Tobias Grosser <tobias@grosser.es> | 2015-02-16 19:33:40 +0000 |
---|---|---|
committer | Tobias Grosser <tobias@grosser.es> | 2015-02-16 19:33:40 +0000 |
commit | 1fa7b972c02efa8e80706995f1c6326e68205c47 (patch) | |
tree | f14008a5a312836fae4811487a69b9458e6afbd1 /polly/lib/External/isl/isl_morph.c | |
parent | 97a59fb464c7330037ce487f8fb6a079c7a52200 (diff) | |
download | bcm5719-llvm-1fa7b972c02efa8e80706995f1c6326e68205c47.tar.gz bcm5719-llvm-1fa7b972c02efa8e80706995f1c6326e68205c47.zip |
Update to isl 99d53692ba
This commit imports the latest isl version into lib/External/isl. The changes
relavant for Polly are:
1) Schedule trees [1] have been introduced as a more structured way to
describe schedules. Polly does not yet use them, but we may switch to them
in the near future.
2) Another set of coalescing changes [2] simplifies some data dependences and
removes a couple of code generation artifacts.
We now understand that the following sets can be merged:
{ Stmt_S1[i0, i1] -> Stmt_S2[i0 + i1] :
i0 >= 0 and i1 <= 1023 - i0 and i1 >= 1
Stmt_S1[i0, 0] -> Stmt_S2[i0] : i0 <= 1023 and i0 >= 1}
into:
{ Stmt_S1[i0, i1] -> Stmt_S2[i0 + i1] : i1 <= 1023 - i0 and i1 >= 0 and
i1 >= 1 - i0 and i0 >= 0 }
Changes of this kind reduce unnecessary specialization during code
generation.
- for (int c3 = 0; c3 <= 1023; c3 += 1) {
- if (c3 % 2 == 0) {
- Stmt_for_body3(c1, c3);
- } else
- Stmt_for_body3(c1, c3);
- }
+ for (int c3 = 0; c3 <= 1023; c3 += 1)
+ Stmt_for_body3(c1, c3);
[1] http://impact.gforge.inria.fr/impact2014/papers/impact2014-verdoolaege.pdf
[2] http://impact.gforge.inria.fr/impact2015/papers/impact2015-verdoolaege.pdf
llvm-svn: 229423
Diffstat (limited to 'polly/lib/External/isl/isl_morph.c')
-rw-r--r-- | polly/lib/External/isl/isl_morph.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/polly/lib/External/isl/isl_morph.c b/polly/lib/External/isl/isl_morph.c index 9030cab1bda..9c14c80a466 100644 --- a/polly/lib/External/isl/isl_morph.c +++ b/polly/lib/External/isl/isl_morph.c @@ -304,8 +304,8 @@ void isl_morph_print_internal(__isl_take isl_morph *morph, FILE *out) if (!morph) return; - isl_basic_set_print(morph->dom, out, 0, "", "", ISL_FORMAT_ISL); - isl_basic_set_print(morph->ran, out, 0, "", "", ISL_FORMAT_ISL); + isl_basic_set_dump(morph->dom); + isl_basic_set_dump(morph->ran); isl_mat_print_internal(morph->map, out, 4); isl_mat_print_internal(morph->inv, out, 4); } |