[llvm-branch-commits] [clang] clang/AMDGPU: Fix double linking opencl libs with --libclc-lib (PR #204865)

Matt Arsenault via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Jun 22 07:04:35 PDT 2026


arsenm wrote:

> FYI we probably need to find shims for math because all of them point to the OCML versions even with this and otherwise the libclc symbols are all C++ mangled.

Not sure I follow, these can't coexist. They both have the exact same OpenCL functions with itanium mangling 

https://github.com/llvm/llvm-project/pull/204865


More information about the llvm-branch-commits mailing list