[all-commits] [llvm/llvm-project] c7562e: [OpenMP][NFC] Generalize CGOpenMPRuntimeNVPTX as C...

Saiyedul Islam via All-commits all-commits at lists.llvm.org
Fri Jul 17 07:38:59 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c7562e77b3ace370679398b1325c66cd79418f41
      https://github.com/llvm/llvm-project/commit/c7562e77b3ace370679398b1325c66cd79418f41
  Author: Saiyedul Islam <Saiyedul.Islam at amd.com>
  Date:   2020-07-17 (Fri, 17 Jul 2020)

  Changed paths:
    A clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
    A clang/lib/CodeGen/CGOpenMPRuntimeGPU.h
    M clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
    M clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.h
    M clang/lib/CodeGen/CMakeLists.txt

  Log Message:
  -----------
  [OpenMP][NFC] Generalize CGOpenMPRuntimeNVPTX as CGOpenMPRuntimeGPU

Refactors CGOpenMPRuntimeNVPTX as CGOpenMPRuntimeGPU to make it a
generalization for OpenMP GPU Codegen. Target specific specialized
methods for NVPTX are defined in class CGOpenMPRuntimeNVPTX. This
paves the way for a clean and maintainable extension to more GPU
targets for OpenMP Codegen.

For original author (git blame) list of CGOpenMPRuntimeGPU code,
look in history of CGOpenMPRuntimeNVPTX.cpp and .h, after this commit.

Reviewed By: ABataev

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




More information about the All-commits mailing list