[all-commits] [llvm/llvm-project] 61fb26: [OpenMP] Pass AMDGPU math libraries into the linke...

Joseph Huber via All-commits all-commits at lists.llvm.org
Wed Feb 16 08:39:57 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 61fb260d9d8c26a61a8dfd64e94d51f2c9a06830
      https://github.com/llvm/llvm-project/commit/61fb260d9d8c26a61a8dfd64e94d51f2c9a06830
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2022-02-16 (Wed, 16 Feb 2022)

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/Driver/amdgpu-openmp-toolchain.c

  Log Message:
  -----------
  [OpenMP] Pass AMDGPU math libraries into the linker wrapper

This patch passes in the AMDPGU math libraries to the linker wrapper.
The wrapper already handles linking OpenMP bitcode libraries via the
`--target-library` option. This should be sufficient to link in math
libraries for the accompanying architecture.

Fixes #53526.

Reviewed By: jdoerfert

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




More information about the All-commits mailing list