[all-commits] [llvm/llvm-project] 0d8d71: [OpenMP] Change clang emitTargetDataCalls to use O...

Akash Banerjee via All-commits all-commits at lists.llvm.org
Fri Jun 30 07:12:47 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0d8d718171192301f2beb10bd08ce62e70281a5e
      https://github.com/llvm/llvm-project/commit/0d8d718171192301f2beb10bd08ce62e70281a5e
  Author: Akash Banerjee <Akash.Banerjee at amd.com>
  Date:   2023-06-30 (Fri, 30 Jun 2023)

  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 llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp

  Log Message:
  -----------
  [OpenMP] Change clang emitTargetDataCalls to use OMPIRBuilder

This patch changes the emitTargetDataCalls function in clang to make use of the OpenMPIRBuilder::createTargetData function for Target Data directive code gen.

Depends on D146557

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




More information about the All-commits mailing list