[all-commits] [llvm/llvm-project] 48ffd4: [Clang][OpenMP] Codegen generation for has_device_...

jyu2-git via All-commits all-commits at lists.llvm.org
Tue Sep 20 21:32:18 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 48ffd40ba295f2cb194237737d9c378348c7b1c9
      https://github.com/llvm/llvm-project/commit/48ffd40ba295f2cb194237737d9c378348c7b1c9
  Author: Jennifer Yu <jennifer.yu at intel.com>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    M clang/lib/Sema/SemaOpenMP.cpp
    A clang/test/OpenMP/target_has_device_addr_codegen.cpp
    A clang/test/OpenMP/target_has_device_addr_codegen_01.cpp
    A openmp/libomptarget/test/mapping/has_device_addr.cpp
    A openmp/libomptarget/test/mapping/target_has_device_addr.c

  Log Message:
  -----------
  [Clang][OpenMP] Codegen generation for has_device_addr claues.

This patch add codegen support for the has_device_addr clause. It use
the same logic of is_device_ptr. But passing &var instead pointer to var
to kernal.

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




More information about the All-commits mailing list