[all-commits] [llvm/llvm-project] f57d39: [OPENMP]Do no privatize const firstprivates in tar...

cilkplus via All-commits all-commits at lists.llvm.org
Thu Jul 8 12:16:00 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f57d396dcab2a280faa72aff68623a8ccfdc5421
      https://github.com/llvm/llvm-project/commit/f57d396dcab2a280faa72aff68623a8ccfdc5421
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2021-07-08 (Thu, 08 Jul 2021)

  Changed paths:
    M clang/lib/CodeGen/CGStmtOpenMP.cpp
    M clang/test/OpenMP/nvptx_target_firstprivate_codegen.cpp
    M clang/test/OpenMP/target_firstprivate_codegen.cpp

  Log Message:
  -----------
  [OPENMP]Do no privatize const firstprivates in target regions.

No need to emit private copyfor firstprivate constants in target
regions, we can use the original copy instead.

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




More information about the All-commits mailing list