commit | 93bd8149fb7c64f7fb9786cb1521382f65721b4d | [log] [tgz] |
---|---|---|
author | Michael Kruse <llvm-project@meinersbur.de> | Mon Apr 27 12:08:07 2020 -0500 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Sep 03 18:09:24 2020 -0700 |
tree | 4c80fe48d53f2b634486e28b64d17a4dc1b67ef7 | |
parent | d6c4e566a71881abbd0aa1b6c6dcd27cd711ef2d [diff] |
[Polly] Fix long loop due to unsigned warparound. After the update to ISL to isl-0.22.1-87-gfee05a13 and its change of isl_*_dim returning -1 instead of 0, the -1 got wrapped-around to UINT_MAX because Polly often uses 'unsigned' type to represent dimensions, as ISL did before this patch. This may happen in normal executions after an out-of-quota. Fix by catching the error-case earlier. GitOrigin-RevId: 1ef55ac96e9d58572cb5a488a7eeceb3137cce9f