[all-commits] [llvm/llvm-project] 3e0f4f: [OPENMP]Fix thread id passed to outlined region in...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Thu Oct 17 07:35:33 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3e0f4f8e928cabb3da9fc955321fb5142a0a0110
      https://github.com/llvm/llvm-project/commit/3e0f4f8e928cabb3da9fc955321fb5142a0a0110
  Author: Alexey Bataev <a.bataev at hotmail.com>
  Date:   2019-10-17 (Thu, 17 Oct 2019)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    M clang/test/OpenMP/parallel_if_codegen.cpp

  Log Message:
  -----------
  [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.

llvm-svn: 375119




More information about the All-commits mailing list