llvm-project/polly/test/Isl
Tobias Grosser c92c8f06ec [isl-codegen]: Fix off by one in getNumberOfIterations
We need to remove one dimension. Any is correct as long as it exists. We have
choosen for whatever reason the dimension #dims - 2. This is incorrect if
there is just one dimension. For CLooG this case did never happen. For isl
however, the case can happen and causes undefined behavior including crashes.
We choose now always the last dimension #dims - 1. We could have choosen
dimension '0' but the last dimension is what we remove conceptionally in the
algorithm, so it seems better to actually program it that way.

While at it remove another piece of undefined behavior.

llvm-svn: 174894
2013-02-11 17:52:36 +00:00
..
Ast/OpenMP isl: detect vector parallelism 2012-12-13 16:52:41 +00:00
CodeGen [isl-codegen]: Fix off by one in getNumberOfIterations 2013-02-11 17:52:36 +00:00
single_loop_param_less_equal.ll adapt cloog codegen testcases to isl 2012-12-03 21:34:09 +00:00
single_loop_param_less_than.ll adapt cloog codegen testcases to isl 2012-12-03 21:34:09 +00:00
single_loop_uint_max_iterations.ll
single_loop_ull_max_iterations.ll