]> granicus.if.org Git - clang/commit
[OPENMP] Fix crash for 'schedule|dist_schedule' clauses during
authorAlexey Bataev <a.bataev@hotmail.com>
Wed, 15 Jun 2016 11:20:48 +0000 (11:20 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Wed, 15 Jun 2016 11:20:48 +0000 (11:20 +0000)
commit32c03b723d04144ec6ac6d7c873ceb6c3749d57b
tree5e9da94fb2fe9f8ae47d62dbd5f845255810ae8b
parent0253605771b8bd9d414aba74fe2742c730d6fd1a
[OPENMP] Fix crash for 'schedule|dist_schedule' clauses during
instantiation.

Added checks for non-dependent context when trygin to capture
non-constant schedule chunk expression for proper codegen of outlined
functions.

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