[all-commits] [llvm/llvm-project] 1f8fec: [OpenMP][OMPIRBuilder] Migrate code to emit target...

Jan Sjodin via All-commits all-commits at lists.llvm.org
Mon Dec 12 07:31:33 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f8fecf26b35cef2713252fb020ff66cee248d99
      https://github.com/llvm/llvm-project/commit/1f8fecf26b35cef2713252fb020ff66cee248d99
  Author: Jan Sjodin <jan_sjodin at yahoo.com>
  Date:   2022-12-12 (Mon, 12 Dec 2022)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
    M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

  Log Message:
  -----------
  [OpenMP][OMPIRBuilder] Migrate code to emit target region functions from clang to OMPIRBuilder

This patch moves some of the logic on how to emit target region functions and
adds emitTargetRegionFunction to the OpenMPIRBuilder. Also the
OpenMPOffloadMandatory flag is added to the config.

Reviewed By: jdoerfert

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




More information about the All-commits mailing list