[all-commits] [llvm/llvm-project] 414afd: [OPENMP]Fix PR45911: Data sharing and lambda capture.

Alexey Bataev via All-commits all-commits at lists.llvm.org
Wed May 20 12:01:38 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 414afdf940e8473db4156d0c1bc500ec527f1a1f
      https://github.com/llvm/llvm-project/commit/414afdf940e8473db4156d0c1bc500ec527f1a1f
  Author: Alexey Bataev <a.bataev at hotmail.com>
  Date:   2020-05-20 (Wed, 20 May 2020)

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

  Log Message:
  -----------
  [OPENMP]Fix PR45911: Data sharing and lambda capture.

Summary:
No need to generate inlined OpenMP region for variables captured in
lambdas or block decls, only for implicitly captured variables in the
OpenMP region.

Reviewers: jdoerfert

Subscribers: yaxunl, guansong, cfe-commits, caomhin

Tags: #clang

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




More information about the All-commits mailing list