[Polly] LLVM OpenMP Backend -- Fix "static chunked" scheduling.
authorMichael Halkenhäuser <michaelhalk@web.de>
Tue, 11 Feb 2020 18:46:31 +0000 (12:46 -0600)
committerMichael Kruse <llvm-project@meinersbur.de>
Tue, 11 Feb 2020 18:51:35 +0000 (12:51 -0600)
commit1e0be76e9832e3e02262921abac492e9a52382eb
tree74a9298c45d619b4d3caad886f805f7873ea96d6
parent80d0a137a5aba6998fadb764f1e11cb901aae233
[Polly] LLVM OpenMP Backend -- Fix "static chunked" scheduling.

Static chunked OpenMP scheduling has not been treated correctly.
This patch fixes the problem that threads would not process their
(work-)chunks as intended.

Differential Revision: https://reviews.llvm.org/D61081
polly/lib/CodeGen/LoopGeneratorsKMP.cpp
polly/test/Isl/CodeGen/OpenMP/single_loop.ll