[all-commits] [llvm/llvm-project] 3cc1f1: [OpenMP] Replace OpenMP RTL Functions With OMPIRBu...

Joseph Huber via All-commits all-commits at lists.llvm.org
Thu Oct 8 11:01:21 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3cc1f1fc1d97952136185f4eafb827694875de17
      https://github.com/llvm/llvm-project/commit/3cc1f1fc1d97952136185f4eafb827694875de17
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2020-10-08 (Thu, 08 Oct 2020)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntime.h
    M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
    M clang/lib/CodeGen/CodeGenModule.h
    M clang/test/OpenMP/nvptx_parallel_codegen.cpp
    M llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
    M llvm/test/Transforms/OpenMP/add_attributes.ll

  Log Message:
  -----------
  [OpenMP] Replace OpenMP RTL Functions With OMPIRBuilder and OMPKinds.def

Summary:
Replace the OpenMP Runtime Library functions used in CGOpenMPRuntimeGPU
for OpenMP device code generation with ones in OMPKinds.def and use
OMPIRBuilder for generating runtime calls. This allows us to
consolidate more OpenMP code generation into the OMPIRBuilder. Future
additions to the GPU runtime functions should now go in OMPKinds.def

Reviewers: jdoerfert

Subscribers: aaron.ballman cfe-commits guansong llvm-commits sstefan1 yaxunl

Tags: #OpenMP #LLVM #clang

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




More information about the All-commits mailing list