[all-commits] [llvm/llvm-project] 2cce0f: [OpenMP][OMPIRBuilder] Add support to omp target p...

Dominik Adamski via All-commits all-commits at lists.llvm.org
Mon Nov 6 02:44:25 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2cce0f6c57414fd881c61b7fe5f36e6e90266fc0
      https://github.com/llvm/llvm-project/commit/2cce0f6c57414fd881c61b7fe5f36e6e90266fc0
  Author: Dominik Adamski <dominik.adamski at amd.com>
  Date:   2023-11-06 (Mon, 06 Nov 2023)

  Changed paths:
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
    M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

  Log Message:
  -----------
  [OpenMP][OMPIRBuilder] Add support to omp target parallel (#67000)

Added support for LLVM IR code generation which is used for handling omp
target parallel code. The call for __kmpc_parallel_51 is generated and
the parallel region is outlined to separate function.

The proper setup of kmpc_target_init mode is not included in the commit.
It is assumed that the SPMD mode for target initialization is properly
set by other codegen functions.




More information about the All-commits mailing list