[PATCH] D34982: [Polly][WIP] Fully-Indexed static expansion

Michael Kruse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 4 01:18:04 PDT 2017


Meinersbur added a comment.

LGTM.

Andreas, do you want to commit?



================
Comment at: lib/Transform/MaximalStaticExpansion.cpp:308
+    assert(UpperBound.le(isl::val(CurrentAccessMap.get_ctx(),
+                                  std::numeric_limits<int>::max() - 1)) &&
+           "The upper bound overflow a int.");
----------------
Why `- 1`?


https://reviews.llvm.org/D34982





More information about the llvm-commits mailing list