[all-commits] [llvm/llvm-project] 13bfe4: [OPENMP]Fix PR46012: declare target pointer cannot...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Tue Jul 21 12:49:47 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 13bfe4b226d2f158c46b9e351f4f0c224b899b96
      https://github.com/llvm/llvm-project/commit/13bfe4b226d2f158c46b9e351f4f0c224b899b96
  Author: Alexey Bataev <a.bataev at hotmail.com>
  Date:   2020-07-21 (Tue, 21 Jul 2020)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    M clang/test/OpenMP/target_data_codegen.cpp
    M clang/test/OpenMP/target_data_use_device_ptr_codegen.cpp
    M clang/test/OpenMP/target_update_codegen.cpp

  Log Message:
  -----------
  [OPENMP]Fix PR46012: declare target pointer cannot be accessed in target region.

Summary:
Need to avoid an optimization for base pointer mapping for target data
directives.

Reviewers: jdoerfert, ye-luo

Subscribers: yaxunl, guansong, cfe-commits, sstefan1, caomhin

Tags: #clang

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




More information about the All-commits mailing list