[all-commits] [llvm/llvm-project] f88f09: [libc] Correct 'memrchr' definition and re-enable ...

Joseph Huber via All-commits all-commits at lists.llvm.org
Fri Sep 29 16:22:13 PDT 2023


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

  Changed paths:
    M libc/spec/gnu_ext.td

  Log Message:
  -----------
  [libc] Correct 'memrchr' definition and re-enable on GPU (#67850)

Summary:
This was disabled on the GPU because it conflicted with the definition
in `glibc`. According to information online and in the `glibc`
implementation, the first argument should be a `const void *`. Fixing
this resolves the problem when exporting this to offloading languages.




More information about the All-commits mailing list