]> granicus.if.org Git - clang/commit
[OPENMP]Fix thread id passed to outlined region in sequential parallel
authorAlexey Bataev <a.bataev@hotmail.com>
Thu, 17 Oct 2019 14:36:43 +0000 (14:36 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Thu, 17 Oct 2019 14:36:43 +0000 (14:36 +0000)
commit7883b59067a8867685fd67641e515416348fc683
tree33c503f53872819988f19e8b6e1d685c89448b36
parent03bb1778b664159e449bc6c9c50256dee4152a83
[OPENMP]Fix thread id passed to outlined region in sequential parallel
regions.

The real global thread id must be passed to the outlined region instead
of the zero thread id.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@375119 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGOpenMPRuntime.cpp
test/OpenMP/parallel_if_codegen.cpp