]> granicus.if.org Git - clang/commit
[OPENMP]Fix PR43516: Compiler crash with collapse(2) on non-rectangular
authorAlexey Bataev <a.bataev@hotmail.com>
Tue, 1 Oct 2019 16:19:10 +0000 (16:19 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Tue, 1 Oct 2019 16:19:10 +0000 (16:19 +0000)
commit32e6e8415c2ce1dbaea4c754d65ccd53e43a4ec9
treecb05a98f41fe8c156157028161b7db9a86db902c
parent57d782aed7ee50e4b2be173b84a284a317251bc5
[OPENMP]Fix PR43516: Compiler crash with collapse(2) on non-rectangular
loop.

Missed check if the condition is also dependent when building final
expressions for the collapsed loop directives.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@373348 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaOpenMP.cpp
test/OpenMP/for_codegen.cpp