[all-commits] [llvm/llvm-project] cec1de: [libc] Fix vendor implemented math functions not b...

Joseph Huber via All-commits all-commits at lists.llvm.org
Wed Sep 6 12:43:37 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cec1de3f3565997704dd16f490cdfa80cc59d239
      https://github.com/llvm/llvm-project/commit/cec1de3f3565997704dd16f490cdfa80cc59d239
  Author: Joseph Huber <35342157+jhuber6 at users.noreply.github.com>
  Date:   2023-09-06 (Wed, 06 Sep 2023)

  Changed paths:
    M libc/cmake/modules/LLVMLibCLibraryRules.cmake

  Log Message:
  -----------
  [libc] Fix vendor implemented math functions not being exported (#65510)

Summary:
A previous introduced a new object type for the GPU functions
implemented by an external vendor library. This was done so they we did
not attempt to run tests on functions which we did not implement,
however this accidentally stopped them from being included in the actual
output. Fix this by checking the new type as well.

The long term goal is to remove this vendor handling altogether, but is
being used as a short-term solution to provide a math library on the
GPU which currently lacks one.




More information about the All-commits mailing list