[all-commits] [llvm/llvm-project] 64671d: [libc] Remove unnecessary call in memfunction disp...

Guillaume Chatelet via All-commits all-commits at lists.llvm.org
Tue Dec 19 04:57:58 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 64671dbebcd12c2e8e87dac48b382f98b2f15568
      https://github.com/llvm/llvm-project/commit/64671dbebcd12c2e8e87dac48b382f98b2f15568
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2023-12-19 (Tue, 19 Dec 2023)

  Changed paths:
    M libc/src/string/memory_utils/inline_bcmp.h
    M libc/src/string/memory_utils/inline_bzero.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

  Log Message:
  -----------
  [libc] Remove unnecessary call in memfunction dispatchers (#75800)

Before this patch the compiler could generate unnecessary calls to the
selected implementation.
https://clang.llvm.org/docs/AttributeReference.html#flatten




More information about the All-commits mailing list