[all-commits] [llvm/llvm-project] 0c843f: clang/AMDGPU: Fix double linking opencl libs with ...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Jun 22 07:48:26 PDT 2026


  Branch: refs/heads/users/arsenm/clang/amdgpu-fix-double-linking-opencl-libs-libclc
  Home:   https://github.com/llvm/llvm-project
  Commit: 0c843f027003b412849d9a6fb0986448cebc52d5
      https://github.com/llvm/llvm-project/commit/0c843f027003b412849d9a6fb0986448cebc52d5
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-06-22 (Mon, 22 Jun 2026)

  Changed paths:
    M clang/include/clang/Driver/CommonArgs.h
    M clang/lib/Driver/ToolChains/AMDGPU.cpp
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/test/Driver/opencl-libclc.cl

  Log Message:
  -----------
  clang/AMDGPU: Fix double linking opencl libs with --libclc-lib

Noticed by inspection. If using an explicit --libclc-lib flag,
do not attempt to also link the rocm device libs which will contain
different implementations of the same opencl symbols.

Co-Authored-By: Claude <noreply at anthropic.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list