[all-commits] [llvm/llvm-project] aa9db5: [libc] Align src buffer instead of dst buffer

Guillaume Chatelet via All-commits all-commits at lists.llvm.org
Wed Jan 6 04:05:53 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aa9db51ef69f36775e9babd2f4b23142967784ee
      https://github.com/llvm/llvm-project/commit/aa9db51ef69f36775e9babd2f4b23142967784ee
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2021-01-06 (Wed, 06 Jan 2021)

  Changed paths:
    M libc/src/string/memory_utils/memcpy_utils.h
    M libc/test/src/string/memory_utils/memcpy_utils_test.cpp

  Log Message:
  -----------
  [libc] Align src buffer instead of dst buffer

We used to align destination buffer instead of source buffer for the loop of block copy.
This is a mistake.

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




More information about the All-commits mailing list