[all-commits] [llvm/llvm-project] 79401b: [OpenMP][AMDGPU] Add support for linking libomptar...

pdhaliwal-amd via All-commits all-commits at lists.llvm.org
Thu Feb 11 21:43:08 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 79401b43ce4e3aa856c50e78b38327e3ff4ae9eb
      https://github.com/llvm/llvm-project/commit/79401b43ce4e3aa856c50e78b38327e3ff4ae9eb
  Author: Pushpinder Singh <pushpinderdhaliwal00 at gmail.com>
  Date:   2021-02-12 (Fri, 12 Feb 2021)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticDriverKinds.td
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/lib/Driver/ToolChains/CommonArgs.h
    M clang/lib/Driver/ToolChains/Cuda.cpp
    A clang/test/Driver/Inputs/hip_dev_lib/libomptarget-amdgcn-gfx803.bc
    A clang/test/Driver/Inputs/hip_dev_lib/libomptarget-amdgcn-gfx906.bc
    M clang/test/Driver/amdgpu-openmp-toolchain.c

  Log Message:
  -----------
  [OpenMP][AMDGPU] Add support for linking libomptarget bitcode

This patch uses the existing logic of CUDA for searching libomptarget
and extracts it to a common method.

Reviewed By: JonChesterfield, tianshilei1992

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




More information about the All-commits mailing list