[all-commits] [llvm/llvm-project] 467b50: [libc] fix memcpy builtin looping

michaelrj-google via All-commits all-commits at lists.llvm.org
Thu Dec 16 13:54:48 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 467b5017e26571591b618de314ccf7f2fea72c3f
      https://github.com/llvm/llvm-project/commit/467b5017e26571591b618de314ccf7f2fea72c3f
  Author: Michael Jones <michaelrj at google.com>
  Date:   2021-12-16 (Thu, 16 Dec 2021)

  Changed paths:
    M libc/src/string/memory_utils/elements.h

  Log Message:
  -----------
  [libc] fix memcpy builtin looping

previously, memcpy could get stuck in a loop, calling __builtin_memcpy
which would redirect to itself. This patch removes that path.

Reviewed By: gchatelet, sivachandra, lntue

Differential Revision: https://reviews.llvm.org/D115542




More information about the All-commits mailing list