[all-commits] [llvm/llvm-project] e81170: [libc] Default to `byte_per_byte` instead of error...

Joseph Huber via All-commits all-commits at lists.llvm.org
Fri Mar 14 08:11:14 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e8117026a9796fa3f60b61073c18c3467a037bee
      https://github.com/llvm/llvm-project/commit/e8117026a9796fa3f60b61073c18c3467a037bee
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2025-03-14 (Fri, 14 Mar 2025)

  Changed paths:
    M libc/src/string/memory_utils/inline_bcmp.h
    M libc/src/string/memory_utils/inline_memcmp.h
    M libc/src/string/memory_utils/inline_memcpy.h
    M libc/src/string/memory_utils/inline_memmove.h
    M libc/src/string/memory_utils/inline_memset.h

  Log Message:
  -----------
  [libc] Default to `byte_per_byte` instead of erroring (#131340)

Summary:
Right now a lot of the memory functions error if we don't have specific
handling for them. This is weird because we have a generic
implementation that should just be used whenever someone hasn't written
a more optimized version. This allows us to use the `libc` headers with
more architectures from the `shared/` directory without worrying about
it breaking.



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