[all-commits] [llvm/llvm-project] d1419c: [OPENMP]Fix PR47621: Variable used by task inside ...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Thu Sep 24 10:57:13 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d1419c9fdab141617b6aa9f028191b9bfc8be260
      https://github.com/llvm/llvm-project/commit/d1419c9fdab141617b6aa9f028191b9bfc8be260
  Author: Alexey Bataev <a.bataev at hotmail.com>
  Date:   2020-09-24 (Thu, 24 Sep 2020)

  Changed paths:
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/test/OpenMP/nvptx_target_parallel_reduction_codegen_tbaa_PR46146.cpp
    M clang/test/OpenMP/task_codegen.cpp

  Log Message:
  -----------
  [OPENMP]Fix PR47621: Variable used by task inside a template function is not made firstprivate by default

Need to fix a check for the variable if it is declared in the inner
OpenMP region to be able to firstprivatize it.

Differential Revision: https://reviews.llvm.org/D88240




More information about the All-commits mailing list